µ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::scheduler::uncritical_section Class Reference

Scheduler uncritical section RAII helper. More...

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

Public Member Functions

Constructors & Destructor
 uncritical_section ()
 Enter a critical section. More...
 
 ~uncritical_section ()
 Exit a critical section. More...
 

Detailed Description

Scheduler uncritical section RAII helper.

Definition at line 242 of file os-sched.h.

Constructor & Destructor Documentation

◆ uncritical_section()

os::rtos::scheduler::uncritical_section::uncritical_section ( )
inline

Enter a critical section.

Parameters
None.

Lock the scheduler and remember the initial scheduler state.

Warning
Cannot be invoked from Interrupt Service Routines.

Definition at line 942 of file os-sched.h.

◆ ~uncritical_section()

os::rtos::scheduler::uncritical_section::~uncritical_section ( )
inline

Exit a critical section.

Restore the initial scheduler state and possibly unlock the scheduler.

Warning
Cannot be invoked from Interrupt Service Routines.

Definition at line 958 of file os-sched.h.


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