void resume_processing_unit_cb(
    pika::threads::thread_pool_base& pool,
    util::function<void()> callback,
    std::size_t virt_core,
    pika::error_code& ec = throws)

Description

Resumes the given processing unit. Takes a callback as a parameter which will be called when the processing unit has been resumed.

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

Parameters

pika::threads::thread_pool_base& pool
util::function<void()> callback
[in] Callback which is called when the processing unit has been suspended.
std::size_t virt_core
[in] The processing unit to resume.
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.