|
|
template<typename Fn> |
| | worker_pool (pending_task_queue &task_queue, int thread_count, Fn &&worker_init) |
| |
|
| worker_pool (const worker_pool &)=delete |
| |
|
worker_pool & | operator= (const worker_pool &)=delete |
| |
|
int | thread_count () const |
| |
|
size_t | size () |
| |
|
void | enqueue_task (pending_task &&task, bool run_on_main_loop) |
| |
|
std::deque< pending_task > | pop_main_loop_tasks () |
| |
|
void | clear () |
| |
|
void | shutdown () |
| |
|
void | wait () |
| |
|
template<class Rep, class Period> |
| bool | wait_for (const std::chrono::duration< Rep, Period > &timeout_duration) |
| |
|
template<class Clock, class Duration> |
| bool | wait_until (const std::chrono::time_point< Clock, Duration > &timeout_time) |
| |
The documentation for this class was generated from the following files: