A simple C++ threadpool