enum class thread_schedule_hint_mode

Description

//////////////////////////////////////////////////////////////////////// thread_schedule_hint_modeThe type of hint given when creating new tasks.

Declared at: libs/pika/coroutines/include/pika/coroutines/thread_enums.hpp:195

Enumerators

NameValueComment
none0A hint that leaves the choice of scheduling entirely up to the scheduler.
thread1A hint that tells the scheduler to prefer scheduling a task on the local thread number associated with this hint. Local thread numbers are indexed from zero. It is up to the scheduler to decide how to interpret thread numbers that are larger than the number of threads available to the scheduler. Typically thread numbers will wrap around when too large.
numa2A hint that tells the scheduler to prefer scheduling a task on the NUMA domain associated with this hint. NUMA domains are indexed from zero. It is up to the scheduler to decide how to interpret NUMA domain indices that are larger than the number of available NUMA domains to the scheduler. Typically indices will wrap around when too large.