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. | |
Definition at line 244 of file os-sched.h.
|
inline |
Lock the scheduler and remember the initial scheduler state.
Definition at line 940 of file os-sched.h.
References os::trace::printf().
|
inline |
Restore the initial scheduler state and possibly unlock the scheduler.
Definition at line 954 of file os-sched.h.
References os::rtos::scheduler::locked(), and os::trace::printf().