pika::future<void> suspend_pool(
pika::threads::thread_pool_base& pool)
pika::future<void> suspend_pool(
pika::threads::thread_pool_base& pool)Description
Suspends the thread pool. When the all OS threads on the thread pool have been suspended the returned future will be ready.
Declared at: libs/pika/thread_pool_util/include/pika/thread_pool_util/thread_pool_suspension_helpers.hpp:117
Parameters
Returns
A `future <void >` which is ready when the thread pool has been suspended.