Null locker. More...
#include <cmsis-plus/rtos/os.h>
Public Member Functions | |
Constructors & Destructor | |
constexpr | null_locker () |
Construct a null lockable object instance. | |
~null_locker () | |
Destruct the null lockable object instance. | |
Public Member Functions | |
void | lock (void) |
Pretend to lock scheduler. | |
void | unlock (void) |
Pretend to unlock the scheduler. | |
Null locker.
This dummy object can be passed as parameter to templates requiring a lockable, but it does nothing.
Definition at line 657 of file os-decls.h.
|
constexpr |
Construct a null lockable object instance.
|
inline |
Destruct the null lockable object instance.
Definition at line 745 of file os-decls.h.
|
inline |
Pretend to lock scheduler.
Definition at line 751 of file os-decls.h.
|
inline |
Pretend to unlock the scheduler.
Definition at line 757 of file os-decls.h.