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 699 of file os-sched.h.
|
constexpr |
Construct an interrupts lock.
Definition at line 1201 of file os-sched.h.
|
inline |
Destruct the interrupts lock.
Definition at line 1211 of file os-sched.h.
|
inline |
Lock the interrupts.
Definition at line 1220 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 1234 of file os-sched.h.
|
inline |
Unlock the interrupts.
Definition at line 1245 of file os-sched.h.