Thread states.
More...
#include <cmsis-plus/rtos/os.h>
The os::rtos::thread::state definition is a container for thread states.
Definition at line 368 of file os-thread.h.
◆ anonymous enum
| Enumerator |
|---|
| undefined | Used to catch uninitialised threads.
|
| ready | Present in the READY list and competing for CPU.
|
| running | Has the CPU and runs.
|
| suspended | Not present in the READY list, waiting for an event.
|
| terminated | No longer usable, but resources not yet released.
|
| destroyed | Terminated and resources (like stack) released.
|
| initializing | Used to check reused threads.
|
Definition at line 373 of file os-thread.h.
374 {
403 };
@ running
Has the CPU and runs.
@ destroyed
Terminated and resources (like stack) released.
@ initializing
Used to check reused threads.
@ terminated
No longer usable, but resources not yet released.
@ ready
Present in the READY list and competing for CPU.
@ undefined
Used to catch uninitialised threads.
@ suspended
Not present in the READY list, waiting for an event.
The documentation for this struct was generated from the following file: