[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 02/11] Avoid polling on FDs with no events enabled



On Mon, Aug 24, 2009 at 09:51:05PM +0100, Daniel P. Berrange wrote:
> If a file descriptor with events=0 was added to the libvirtd
> event loop, it would still be added to the poll() fds' array.
> While it wouldn't see any POLLIN/OUT events, it'd still get
> triggered for HANGUP/ERROR events which was not in compliance
> with the libvirt events API contract.

  Independantly of the rest of the stream patches this sounds fine to
push,

   ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]