Public Member Functions | |
| TaskThreadPool (std::size_t pool_size) | |
| Constructor. | |
| ~TaskThreadPool () | |
| Destructor. | |
| template<typename Task > | |
| void | runTask (Task task) |
| Add task to the thread pool if a thread is currently available. | |
| void | waitWorkComplete () |
| Wait for queue to be empty. | |
Definition at line 10 of file thread_pool.h.
1.8.14