µ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::estd::mutex Class Reference

#include <mutex>

+ Inheritance diagram for os::estd::mutex:

Public Types

using native_handle_type = native_type *
 

Public Member Functions

 mutex () noexcept
 
 mutex (const mutex &)=delete
 
 ~mutex ()=default
 
void lock ()
 
native_handle_type native_handle ()
 
mutexoperator= (const mutex &)=delete
 
bool try_lock ()
 
void unlock ()
 

Protected Attributes

native_type nm_
 

Private Types

using native_type = os::rtos::mutex
 

Detailed Description

Definition at line 59 of file mutex.

Member Typedef Documentation

◆ native_handle_type

Definition at line 67 of file mutex.

◆ native_type

Definition at line 63 of file mutex.

Constructor & Destructor Documentation

◆ mutex() [1/2]

os::estd::mutex::mutex ( )
inlinenoexcept

Definition at line 188 of file mutex.

◆ ~mutex()

os::estd::mutex::~mutex ( )
default

◆ mutex() [2/2]

os::estd::mutex::mutex ( const mutex )
delete

Member Function Documentation

◆ lock()

void os::estd::mutex::lock ( )

Definition at line 30 of file mutex.cpp.

◆ native_handle()

mutex::native_handle_type os::estd::mutex::native_handle ( )
inline

Definition at line 193 of file mutex.

◆ operator=()

mutex & os::estd::mutex::operator= ( const mutex )
delete

◆ try_lock()

bool os::estd::mutex::try_lock ( )

Definition at line 42 of file mutex.cpp.

◆ unlock()

void os::estd::mutex::unlock ( )

Definition at line 61 of file mutex.cpp.

Member Data Documentation

◆ nm_

native_type os::estd::mutex::nm_
protected

Definition at line 92 of file mutex.


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