Scheduler standard locker. More...
#include <cmsis-plus/rtos/os.h>
Public Member Functions | |
Constructors & Destructor | |
constexpr | lockable () |
Construct a lockable object instance. | |
~lockable () | |
Destruct the lockable object instance. | |
Public Member Functions | |
void | lock (void) |
Lock the scheduler. | |
bool | try_lock (void) |
Try to lock the scheduler. | |
void | unlock (void) |
Unlock the scheduler. | |
Scheduler standard locker.
Locker meeting the standard Lockable
requirements (30.2.5.3).
Definition at line 325 of file os-sched.h.
|
constexpr |
Construct a lockable object instance.
Definition at line 996 of file os-sched.h.
|
inline |
Destruct the lockable object instance.
Definition at line 1006 of file os-sched.h.
|
inline |
Lock the scheduler.
Definition at line 1015 of file os-sched.h.
|
inline |
Try to lock the scheduler.
true | The scheduler was locked. |
Somehow redundant, since the lock will always succeed; but used to meet the lockableable requirements.
Definition at line 1028 of file os-sched.h.
|
inline |
Unlock the scheduler.
Definition at line 1038 of file os-sched.h.