A threadpool, implemented in C++11