Lean Simple C++ thread Pool Implementation (lock based). To use the header library, either copy the folder as a subdirectory of a cmake project, or directly copy threadpool.h and threadpool_impl.hpp into the destination project.