Re: [Qemu-devel] [PATCH 1/5] threadpool: move globals into struct ThreadPool

2013-03-07 Thread Wenchao Xia
Reviewed the patch, it is a pure remove of globals variable. Reviewed-by: Wenchao Xia > 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

Re: [Qemu-devel] [PATCH 1/5] threadpool: move globals into struct ThreadPool

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 16:45, Stefan Hajnoczi ha scritto: > 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 > individua

[Qemu-devel] [PATCH 1/5] threadpool: move globals into struct ThreadPool

2013-03-06 Thread Stefan Hajnoczi
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 mak