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. | |
Locker meeting the standard Lockable requirements (30.2.5.3).
Definition at line 316 of file os-sched.h.
|
constexpr |
Definition at line 965 of file os-sched.h.
|
inline |
Definition at line 972 of file os-sched.h.
|
inline |
Definition at line 980 of file os-sched.h.
References os::rtos::scheduler::lock().
|
inline |
| true | The scheduler was locked. |
Somehow redundant, since the lock will always succeed; but used to meet the lockableable requirements.
Definition at line 993 of file os-sched.h.
References os::rtos::scheduler::lock().
|
inline |
Definition at line 1003 of file os-sched.h.
References os::rtos::scheduler::locked().