|
From: | Alex Bligh |
Subject: | Re: [Qemu-devel] [PATCHv2] [RFC 1/7] aio / timers: Remove alarm timers |
Date: | Thu, 25 Jul 2013 10:38:40 +0100 |
--On 25 July 2013 11:11:22 +0200 Paolo Bonzini <address@hidden> wrote:
If this function is supposed to work when called from another thread (e.g. vcpu thread), then you need to call qemu_notify_event(). For AioContext clocks that should be aio_notify() with the relevant AioContext, but we don't need that yet.In general QEMUClock should have an AioContext pointer so that it can call aio_notify.
OK, if we do that, disregard my comment about always using qemu_notify_event. -- Alex Bligh
[Prev in Thread] | Current Thread | [Next in Thread] |