Implementation of a lightweight thread pool based on c++11 features.