[libvirt] [PATCH 02/11] Avoid polling on FDs with no events enabled
Daniel Veillard
veillard at redhat.com
Thu Sep 3 15:28:00 UTC 2009
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 at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list