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

#include <mutex>

+ Inheritance diagram for os::estd::recursive_mutex:

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 97 of file mutex.

Member Typedef Documentation

◆ native_handle_type

◆ native_type

Definition at line 101 of file mutex.

Constructor & Destructor Documentation

◆ recursive_mutex() [1/2]

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

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

Definition at line 75 of file mutex.cpp.

◆ native_handle()

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

Definition at line 208 of file mutex.

◆ operator=()

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

◆ try_lock()

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

Definition at line 87 of file mutex.cpp.

◆ unlock()

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

Definition at line 106 of file mutex.cpp.

Member Data Documentation

◆ nm_

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

Definition at line 129 of file mutex.


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