diff options
| author | Alex Bligh | 2013-08-21 17:02:53 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-08-22 19:10:28 +0200 |
| commit | 438e1f47e7db042a10458f70aaa6197aff5d84df (patch) | |
| tree | e942f830632913e305223303d4934b861cf871eb /include | |
| parent | aio / timers: Add aio_timer_init & aio_timer_new wrappers (diff) | |
| download | qemu-438e1f47e7db042a10458f70aaa6197aff5d84df.tar.gz 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 'include')
0 files changed, 0 insertions, 0 deletions
