]> Git Repo - qemu.git/commit
aio / timers: Convert aio_poll to use AioContext timers' deadline
authorAlex Bligh <[email protected]>
Wed, 21 Aug 2013 15:02:53 +0000 (16:02 +0100)
committerStefan Hajnoczi <[email protected]>
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
aio-posix.c
aio-win32.c
This page took 0.025242 seconds and 4 git commands to generate.