a simple C++ thread pool that allows dynamic size adjustment, it depends only on STL list and queue and pthread, no C++11 dependency also