Go to the source code of this file.
|
| class | Task |
| | Cooperative unit of work that the run ring polls once per pass. More...
|
| struct | Task::Node |
| | One position in the run ring, allocated separately from the task it refers to. More...
|
◆ TaskState
The lifecycle position of a Task, stored in its scheduler node.
| Enumerator |
|---|
| kTaskStateIdle | Constructed or reset, and not under the scheduler.
|
| kTaskStateRunning | Linked into the run ring and polled once per pass.
|
| kTaskStateSuspended | Started once and then unlinked, retaining its position.
|
| kTaskStateFinished | Run to completion, and no longer startable.
|
◆ g_pRunningTasks
Head of the circular run ring, or null when no task is running.
- Ghidra address:
- NTSC-U/C: 0x006fba4c
- Ghidra address:
- PAL: 0x0073f4c4