[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/3] net: asynchronous send/receive infrastru
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/3] net: asynchronous send/receive infrastructure for net/socket.c |
Date: |
Wed, 22 Aug 2012 10:24:29 +0100 |
On Tue, Aug 21, 2012 at 5:39 PM, ronnie sahlberg
<address@hidden> wrote:
> In
> net_socket_update_fd_handler()
>
> shouldnt you call qemu_notify_event() if any of the handlers have
> changed from NULL to non-NULL ?
> or else it might take a while before the change takes effect.
In this case it's not necessary:
net_socket_send()/net_socket_send_dgram()/net_socket_writable() are
called as fd handlers and therefore we know the event loop isn't stuck
in select(2).
Stefan
[Qemu-devel] [PATCH v2 2/3] net: EAGAIN handling for net/socket.c UDP, Stefan Hajnoczi, 2012/08/21
[Qemu-devel] [PATCH v2 3/3] net: EAGAIN handling for net/socket.c TCP, Stefan Hajnoczi, 2012/08/21
Re: [Qemu-devel] [PATCH v2 0/3] net: asynchronous send/receive for net/socket.c, Stefan Hajnoczi, 2012/08/29