µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::rtos::thread::state Struct Reference

Thread states. More...

#include <cmsis-plus/rtos/os.h>

Public Types

enum  : state_t {
  undefined = 0 ,
  ready = 1 ,
  running = 2 ,
  suspended = 3 ,
  terminated = 4 ,
  destroyed = 5 ,
  initializing = 6
}
 An enumeration with all possible thread states. More...
 

Detailed Description

Thread states.

The os::rtos::thread::state definition is a container for thread states.

Definition at line 363 of file os-thread.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : state_t

An enumeration with all possible thread states.

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 368 of file os-thread.h.


The documentation for this struct was generated from the following file: