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 643 of file os-decls.h.
|
constexpr |
Construct a null lockable object instance.
|
inline |
Destruct the null lockable object instance.
Definition at line 731 of file os-decls.h.
|
inline |
Pretend to lock scheduler.
Definition at line 736 of file os-decls.h.
|
inline |
Pretend to unlock the scheduler.
Definition at line 742 of file os-decls.h.