µ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::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.
 
 ~uncritical_section ()
 Exit a critical section.
 

Detailed Description

Scheduler uncritical section RAII helper.

Definition at line 241 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: