parallel::execution::current_executor
get_executor(
    const pika::threads::thread_id_type& id,
    pika::error_code& ec = throws)

Description

Returns a reference to the executor which was used to create the given thread.

Declared at: libs/pika/executors/include/pika/executors/current_executor.hpp:29

Parameters

const pika::threads::thread_id_type& id
pika::error_code& ec = throws