« Previous | Next » 

Revision b811203c

IDb811203cf2fbf83e26f8e8feb2c77784259a4cbd

Added by Stefan Hajnoczi over 11 years ago

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 <>
Reviewed-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences