]> git.proxmox.com Git - qemu.git/commit
aio / timers: Convert aio_poll to use AioContext timers' deadline
authorAlex Bligh <alex@alex.org.uk>
Wed, 21 Aug 2013 15:02:53 +0000 (16:02 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 22 Aug 2013 17:10:28 +0000 (19:10 +0200)
commit438e1f47e7db042a10458f70aaa6197aff5d84df
treee942f830632913e305223303d4934b861cf871eb
parent4e29e8311a53025a06433382768b82111c0bb80c
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>
aio-posix.c
aio-win32.c