]> Git Repo - qemu.git/commit
threadpool: move globals into struct ThreadPool
authorStefan Hajnoczi <[email protected]>
Thu, 7 Mar 2013 12:41:45 +0000 (13:41 +0100)
committerStefan Hajnoczi <[email protected]>
Fri, 15 Mar 2013 15:07:50 +0000 (16:07 +0100)
commitb811203cf2fbf83e26f8e8feb2c77784259a4cbd
tree39236a7be710c49d3df65d921e0faa4a63cf8ef1
parent5f3aa1ff4781f39e05b9892d58319a09fedc8918
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 <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
thread-pool.c
trace-events
This page took 0.026592 seconds and 4 git commands to generate.