enum class thread_schedule_state

Description

thread_schedule_stateThe \aenumerator encodes the current state of a\ainstance

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

Enumerators

NameValueComment
unknown0
active1thread is currently active (running, has resources)
pending2thread is pending (ready to run, but no hardware resource available)
suspended3thread has been suspended (waiting for synchronization event, but still known and under control of the thread-manager)
depleted4thread has been depleted (deeply suspended, it is not known to the thread-manager)
terminated5thread has been stopped an may be garbage collected
staged6this is not a real thread state, but allows to reference staged task descriptions, which eventually will be converted into thread objects
pending_do_not_schedule7
pending_boost8