C++ 2011 lock-free threadpool thing