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. | |
Scheduler uncritical section RAII helper.
Definition at line 241 of file os-sched.h.
|
inline |
Enter a critical section.
Lock the scheduler and remember the initial scheduler state.
Definition at line 942 of file os-sched.h.
|
inline |
Exit a critical section.
Restore the initial scheduler state and possibly unlock the scheduler.
Definition at line 958 of file os-sched.h.