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. | |
This dummy object can be passed as parameter to templates requiring a lockable, but it does nothing.
Definition at line 640 of file os-decls.h.
|
constexpr |
|
inline |
Definition at line 725 of file os-decls.h.
|
inline |
Definition at line 730 of file os-decls.h.
|
inline |
Definition at line 736 of file os-decls.h.