threads::thread_pool_base* get_pool(
    const pika::threads::thread_id_type& id,
    pika::error_code& ec = throws)

Description

Returns a pointer to the pool that was used to run the current thread

Declared at: libs/pika/threading_base/include/pika/threading_base/thread_helpers.hpp:431

Parameters

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