qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]