diff options
| author | Stefan Hajnoczi | 2013-03-07 13:41:45 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-03-15 16:07:50 +0100 |
| commit | b811203cf2fbf83e26f8e8feb2c77784259a4cbd (patch) | |
| tree | 39236a7be710c49d3df65d921e0faa4a63cf8ef1 /include | |
| parent | main-loop: add qemu_get_aio_context() (diff) | |
| download | qemu-b811203cf2fbf83e26f8e8feb2c77784259a4cbd.tar.gz qemu-b811203cf2fbf83e26f8e8feb2c77784259a4cbd.tar.xz qemu-b811203cf2fbf83e26f8e8feb2c77784259a4cbd.zip | |
threadpool: move globals into struct ThreadPool
Move global variables into a struct so multiple thread pools can be
supported in the future.
This patch does not change thread-pool.h interfaces. There is still a
global thread pool and it is not yet possible to create/destroy
individual thread pools. Moving the variables into a struct first makes
later patches easier to review.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
