Open airekans opened 10 years ago
Right now I just used naive centralized task queue to manage task in the thread pool. This may be not so efficient. Try to write some benchmark for it and implement work stealing to improve the performance.
http://www.paulvanbrenk.com/blog/2008/08/30/BuildingACustomThreadpool.aspx Here's a post talking about the implementation of work stealing.
Right now I just used naive centralized task queue to manage task in the thread pool. This may be not so efficient. Try to write some benchmark for it and implement work stealing to improve the performance.