pika::threads::thread_result_type at_timer(
    policies::scheduler_base* scheduler,
    std::chrono::steady_clock::time_point&,
    const pika::threads::thread_id_ref_type& thrd,
    pika::threads::thread_schedule_state newstate,
    pika::threads::thread_restart_state
        newstate_ex,
    pika::threads::thread_priority priority,
    std::atomic<bool>*,
    bool retry_on_active)

Description

This thread function initiates the required set_state action (on behalf of one of the threads#detail#set_thread_state functions).

Declared at: libs/pika/threading_base/src/set_thread_state_timed.cpp:71

Parameters

policies::scheduler_base* scheduler
std::chrono::steady_clock::time_point&
const pika::threads::thread_id_ref_type& thrd
pika::threads::thread_schedule_state newstate
pika::threads::thread_restart_state newstate_ex
pika::threads::thread_priority priority
std::atomic<bool>*
bool retry_on_active