A simple thread pool implemented in C++11, and depends on the moodycamel::ConcurrentQueue library
Basic usage
#include <iostream>
#include "ThreadPool.h"
int main()
{
// create thread pool
ThreadPool pool;
//start pool
pool.start();
//dispatch one task
pool.dispatchTask([]() { std::cout<< "Hello World" << std::endl; });
//stop thread pool
pool.stop();
return 0;
}