qemu-e2k/include/block
Stefan Hajnoczi c4d9d19645 threadpool: drop global thread pool
Now that each AioContext has a ThreadPool and the main loop AioContext
can be fetched with bdrv_get_aio_context(), we can eliminate the concept
of a global thread pool from thread-pool.c.

The submit functions must take a ThreadPool* argument.

block/raw-posix.c and block/raw-win32.c use
aio_get_thread_pool(bdrv_get_aio_context(bs)) to fetch the main loop's
ThreadPool.

tests/test-thread-pool.c must be updated to reflect the new
thread_pool_submit() function prototypes.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
2013-03-15 16:07:51 +01:00
..
aes.h
aio.h aio: add a ThreadPool instance to AioContext 2013-03-15 16:07:50 +01:00
block_int.h block: add bdrv_get_aio_context() 2013-03-15 16:07:51 +01:00
block.h block: Add options QDict to bdrv_open() prototype 2013-03-15 16:07:49 +01:00
blockjob.h
coroutine_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coroutine.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
nbd.h
thread-pool.h threadpool: drop global thread pool 2013-03-15 16:07:51 +01:00