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
| Name | Value | Comment |
|---|---|---|
| unknown | 0 | |
| active | 1 | thread is currently active (running, has resources) |
| pending | 2 | thread is pending (ready to run, but no hardware resource available) |
| suspended | 3 | thread has been suspended (waiting for synchronization event, but still known and under control of the thread-manager) |
| depleted | 4 | thread has been depleted (deeply suspended, it is not known to the thread-manager) |
| terminated | 5 | thread has been stopped an may be garbage collected |
| staged | 6 | this is not a real thread state, but allows to reference staged task descriptions, which eventually will be converted into thread objects |
| pending_do_not_schedule | 7 | |
| pending_boost | 8 |