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 313 of file os-sched.h.
|
constexpr |
Construct a lockable object instance.
Definition at line 970 of file os-sched.h.
|
inline |
Destruct the lockable object instance.
Definition at line 979 of file os-sched.h.
|
inline |
Lock the scheduler.
Definition at line 987 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 1000 of file os-sched.h.
|
inline |
Unlock the scheduler.
Definition at line 1010 of file os-sched.h.