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

Inherited by os::estd::recursive_timed_mutex [private].

Public Types

using native_handle_type = native_type *
 

Public Member Functions

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

Protected Attributes

native_type nm_
 

Private Types

using native_type = os::rtos::mutex
 

Detailed Description

Definition at line 105 of file mutex.

Types

◆ native_handle_type

◆ native_type

Definition at line 109 of file mutex.

Constructor & Destructor Documentation

◆ recursive_mutex() [1/2]

os::estd::recursive_mutex::recursive_mutex ( )
inline

Definition at line 210 of file mutex.

◆ ~recursive_mutex()

os::estd::recursive_mutex::~recursive_mutex ( )
default

◆ recursive_mutex() [2/2]

os::estd::recursive_mutex::recursive_mutex ( const recursive_mutex )
delete

Member Function Documentation

◆ lock()

void os::estd::recursive_mutex::lock ( void  )

Definition at line 84 of file mutex.cpp.

◆ native_handle()

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

Definition at line 218 of file mutex.

◆ operator=()

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

◆ try_lock()

bool os::estd::recursive_mutex::try_lock ( void  )
noexcept

Definition at line 96 of file mutex.cpp.

◆ unlock()

void os::estd::recursive_mutex::unlock ( void  )

Definition at line 115 of file mutex.cpp.

Member Data Documentation

◆ nm_

native_type os::estd::recursive_mutex::nm_
protected

Definition at line 137 of file mutex.


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