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

Inherited by os::estd::timed_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 67 of file mutex.

Types

◆ native_handle_type

Definition at line 75 of file mutex.

◆ native_type

Definition at line 71 of file mutex.

Constructor & Destructor Documentation

◆ mutex() [1/2]

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

Definition at line 196 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 ( void  )

Definition at line 39 of file mutex.cpp.

◆ native_handle()

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

Definition at line 202 of file mutex.

◆ operator=()

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

◆ try_lock()

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

Definition at line 51 of file mutex.cpp.

◆ unlock()

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

Definition at line 70 of file mutex.cpp.

Member Data Documentation

◆ nm_

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

Definition at line 100 of file mutex.


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