µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
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.
 
 ~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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ null_locker()

constexpr os::rtos::null_locker::null_locker ( )
constexpr
Parameters
None.

◆ ~null_locker()

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

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

726 {
727 }

Member Function Documentation

◆ lock()

void os::rtos::null_locker::lock ( void  )
inline
Parameters
None.
Returns
Nothing.

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

731 {
732 // Does nothing.
733 }

◆ unlock()

void os::rtos::null_locker::unlock ( void  )
inline
Parameters
None.
Returns
Nothing.

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

737 {
738 // Does nothing.
739 }

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