µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::rtos::null_locker Class Reference

Null locker. More...

#include <cmsis-plus/rtos/os.h>

Public Member Functions

Constructors & Destructor
constexpr null_locker ()
 Construct a null lockable object instance. More...
 
 ~null_locker ()
 Destruct the null lockable object instance. More...
 
Public Member Functions
void lock (void)
 Pretend to lock scheduler. More...
 
void unlock (void)
 Pretend to unlock the scheduler. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ null_locker()

constexpr os::rtos::null_locker::null_locker ( )

Construct a null lockable object instance.

Parameters
None.

◆ ~null_locker()

os::rtos::null_locker::~null_locker ( )
inline

Destruct the null lockable object instance.

Definition at line 731 of file os-decls.h.

Member Function Documentation

◆ lock()

void os::rtos::null_locker::lock ( void  )
inline

Pretend to lock scheduler.

Parameters
None.
Returns
Nothing.

Definition at line 737 of file os-decls.h.

◆ unlock()

void os::rtos::null_locker::unlock ( void  )
inline

Pretend to unlock the scheduler.

Parameters
None.
Returns
Nothing.

Definition at line 743 of file os-decls.h.


The documentation for this class was generated from the following file: