A thread pool implementation based on c++11, original code is from http://threadpool.sourceforge.net/ , changed to be be independent of Boost.