pika::threads::thread_id_ref_type
set_thread_state_timed(
policies::scheduler_base* scheduler,
const pika::chrono::steady_time_point&
abs_time,
const pika::threads::thread_id_type& thrd,
pika::threads::thread_schedule_state newstate,
pika::threads::thread_restart_state
newstate_ex,
pika::threads::thread_priority priority,
pika::threads::thread_schedule_hint
schedulehint,
std::atomic<bool>* started,
bool retry_on_active,
pika::error_code& ec)
pika::threads::thread_id_ref_type
set_thread_state_timed(
policies::scheduler_base* scheduler,
const pika::chrono::steady_time_point&
abs_time,
const pika::threads::thread_id_type& thrd,
pika::threads::thread_schedule_state newstate,
pika::threads::thread_restart_state
newstate_ex,
pika::threads::thread_priority priority,
pika::threads::thread_schedule_hint
schedulehint,
std::atomic<bool>* started,
bool retry_on_active,
pika::error_code& ec)Description
Set a timer to set the state of the given \ato the given new value after it expired (at the given time)
Declared at: libs/pika/threading_base/include/pika/threading_base/set_thread_state_timed.hpp:23
Parameters
- policies::scheduler_base* scheduler
- const pika::chrono::steady_time_point& abs_time
- const pika::threads::thread_id_type& thrd
- pika::threads::thread_schedule_state newstate
- pika::threads::thread_restart_state newstate_ex
- pika::threads::thread_priority priority
- pika::threads::thread_schedule_hint schedulehint
- std::atomic<bool>* started
- bool retry_on_active
- pika::error_code& ec