qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v16 0/9] Shared library module support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v16 0/9] Shared library module support
Date: Wed, 15 Jan 2014 17:14:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 15/01/2014 16:40, Peter Maydell ha scritto:
> Further hacking suggests this is probably because we're not
> implementing the curl timeout callback, which curl uses to say
> "call me back in X milliseconds, even if there's no filedescriptor
> action". It looks like the first time or two around curl says "call
> back in 1ms" before it gets things rolling enough to be waiting
> on a filedescriptor. (Then after that it sets a 2second timeout
> presumably so it can deal with unexpected situations like the
> far end never responding.)
> 
> What's the best way to get QEMU's event loop to call back
> after a specified timeout?

You can use aio_timer_new or aio_timer_init.

Paolo



reply via email to

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