Threadpool library for C++