µ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

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 ( )
constexpr

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 736 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 742 of file os-decls.h.


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