| 43 | // Internal data used by threadpool_scheduler |
| 44 | struct threadpool_data { |
| 45 | threadpool_data(std::size_t num_threads) |
| 46 | : thread_data(num_threads), shutdown(false), num_waiters(0), waiters(new task_wait_event*[num_threads]) {} |
| 47 | |
| 48 | threadpool_data(std::size_t num_threads, std::function<void()>&& prerun_, std::function<void()>&& postrun_) |
| 49 | : thread_data(num_threads), shutdown(false), num_waiters(0), waiters(new task_wait_event*[num_threads]), |
nothing calls this directly
no outgoing calls
no test coverage detected