template <typename SchedulingPolicy>
pika::threads::thread_id_ref_type
create_background_thread(
SchedulingPolicy& scheduler,
pika::threads::detail::scheduling_callbacks&
callbacks,
std::shared_ptr<bool>& background_running,
threads::thread_schedule_hint schedulehint,
std::int64_t& idle_loop_count)
template <typename SchedulingPolicy>
pika::threads::thread_id_ref_type
create_background_thread(
SchedulingPolicy& scheduler,
pika::threads::detail::scheduling_callbacks&
callbacks,
std::shared_ptr<bool>& background_running,
threads::thread_schedule_hint schedulehint,
std::int64_t& idle_loop_count)Declared at: libs/pika/thread_pools/include/pika/thread_pools/scheduling_loop.hpp:435
Parameters
- SchedulingPolicy& scheduler
- pika::threads::detail::scheduling_callbacks& callbacks
- std::shared_ptr<bool>& background_running
- threads::thread_schedule_hint schedulehint
- std::int64_t& idle_loop_count