first edition of thread_pool.cpp and worker_thread.cpp