summaryrefslogtreecommitdiff
path: root/tests/test-thread-pool.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2012-12-04 16:12:18 +0100
committerKevin Wolf <kwolf@redhat.com>2012-12-11 11:04:25 +0100
commit9fe3781f09f94f3ce76e52899bcdeb0d5164dbb1 (patch)
tree70ae54231c5d607f23e931613a6008351215b22f /tests/test-thread-pool.c
parent1c97e303d4ea80a2691334b0febe87a50660f99d (diff)
downloadqemu-9fe3781f09f94f3ce76e52899bcdeb0d5164dbb1.tar.gz
tests: use aio_poll() instead of aio_flush() in test-aio.c
There has been confusion between various aio wait and flush functions. It's time to get rid of qemu_aio_flush() but in the aio test cases we really do want this low-level functionality. Therefore declare a local wait_for_aio() helper for the test cases. Drop the aio_flush() test case. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-thread-pool.c')
0 files changed, 0 insertions, 0 deletions