µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
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
}
 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 347 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.

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


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