Interrupts standard locker. More...
#include <cmsis-plus/rtos/os.h>
Public Member Functions | |
Constructors & Destructor | |
constexpr | lockable () |
Construct an interrupts lock. | |
~lockable () | |
Destruct the interrupts lock. | |
Public Member Functions | |
void | lock (void) |
Lock the interrupts. | |
bool | try_lock (void) |
Try to lock the interrupts. | |
void | unlock (void) |
Unlock the interrupts. | |
Interrupts standard locker.
Locker meeting the standard Lockable
requirements (30.2.5.3).
Definition at line 725 of file os-sched.h.
|
constexpr |
Construct an interrupts lock.
Definition at line 1231 of file os-sched.h.
|
inline |
Destruct the interrupts lock.
Definition at line 1242 of file os-sched.h.
|
inline |
Lock the interrupts.
Definition at line 1252 of file os-sched.h.
|
inline |
Try to lock the interrupts.
true | The interrupts were locked. |
Somehow redundant, since the lock will always succeed; but used to meet the Lockable requirements.
Definition at line 1266 of file os-sched.h.
|
inline |
Unlock the interrupts.
Definition at line 1277 of file os-sched.h.