pika::future<void> resume_processing_unit(
    pika::threads::thread_pool_base& pool,
    std::size_t virt_core)

Description

Resumes the given processing unit. When the processing unit has been resumed the returned future will be ready.

Declared at: libs/pika/thread_pool_util/include/pika/thread_pool_util/thread_pool_suspension_helpers.hpp:30

Parameters

pika::threads::thread_pool_base& pool
std::size_t virt_core
[in] The processing unit on the the pool to be resumed. The processing units are indexed starting from 0.

Returns

A `future <void >` which is ready when the given processing unit has been resumed.