thread-pool To run file, run the following command: g++ -std=c++17 threadpool.cpp main.cpp -pthread && ./a.out