diff options
author | 2013-08-21 16:02:53 +0100 | |
---|---|---|
committer | 2013-08-22 19:10:28 +0200 | |
commit | 438e1f47e7db042a10458f70aaa6197aff5d84df (patch) | |
tree | e942f830632913e305223303d4934b861cf871eb /scripts/switch-timer-api | |
parent | aio / timers: Add aio_timer_init & aio_timer_new wrappers (diff) | |
download | qemu-438e1f47e7db042a10458f70aaa6197aff5d84df.tar.xz qemu-438e1f47e7db042a10458f70aaa6197aff5d84df.zip |
aio / timers: Convert aio_poll to use AioContext timers' deadline
Convert aio_poll to use deadline based on AioContext's timers.
aio_poll has been changed to return accurately whether progress
has occurred. Prior to this commit, aio_poll always returned
true if g_poll was entered, whether or not any progress was
made. This required a change to tests/test-aio.c where an
assert was backwards.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions