MCPcopy Create free account
hub / github.com/Amanieu/asyncplusplus / threadpool_data

Method threadpool_data

src/threadpool_scheduler.cpp:45–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43// Internal data used by threadpool_scheduler
44struct 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]),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected