|
From: | Alex Bligh |
Subject: | Re: [Qemu-devel] [RFC] Convert AioContext to Gsource sub classes |
Date: | Wed, 21 Aug 2013 11:06:20 +0100 |
--On 21 August 2013 10:45:53 +0200 Stefan Hajnoczi <address@hidden> wrote:
Since AioContext provides a GSource, integrating with an application's glib event loop should also be easy. The only hard part is timers, since we use nanosecond timers - there we should just round up to millisecond granularity to libqblock.
... and there is qemu_timeout_ns_to_ms for this purpose which does the rounding right. -- Alex Bligh
[Prev in Thread] | Current Thread | [Next in Thread] |