[libvirt] [PATCH] poll(-0.001) does not sleep forever.

Philipp Hahn hahn at univention.de
Tue Mar 23 15:07:57 UTC 2010


The conversion from seconds to milliseconds should only be done for
actual delays >= 0, not for the magic -1 value used for infinite
timeouts.

Signed-off-by: Philipp Hahn <hahn at univention.de>
---
 examples/domain-events/events-python/event-test.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 585fb4785e54b3e62a3acae9c05ddb01b95e407c.diff
Type: text/x-patch
Size: 708 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100323/d081f0cb/attachment-0001.bin>


More information about the libvir-list mailing list