Update thread_pool.h

This commit is contained in:
Gabi Melman 2021-12-09 08:30:43 +02:00 committed by gabime
parent da9c16278a
commit ab2e72340a

View File

@ -88,7 +88,7 @@ public:
thread_pool(size_t q_max_items, size_t threads_n, std::function<void()> on_thread_start); thread_pool(size_t q_max_items, size_t threads_n, std::function<void()> on_thread_start);
thread_pool(size_t q_max_items, size_t threads_n); thread_pool(size_t q_max_items, size_t threads_n);
// message all threads to terminate and join them // message all threads to terminate gracefully and join them
~thread_pool(); ~thread_pool();
thread_pool(const thread_pool &) = delete; thread_pool(const thread_pool &) = delete;