void resume_pool_cb(
pika::threads::thread_pool_base& pool,
util::function<void()> callback,
pika::error_code& ec = throws)
void resume_pool_cb(
pika::threads::thread_pool_base& pool,
util::function<void()> callback,
pika::error_code& ec = throws)Description
Resumes the thread pool. Takes a callback as a parameter which will be called when all OS threads on the thread pool have been resumed.
Declared at: libs/pika/thread_pool_util/include/pika/thread_pool_util/thread_pool_suspension_helpers.hpp:103
Parameters
- pika::threads::thread_pool_base& pool
- util::function<void()> callback
- [in] called when the thread pool has been resumed.
- pika::error_code& ec = throws
- [in,out] this represents the error status on exit, if this is pre-initialized to \athe function will throw on error instead.