µ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_timed_mutex Class Reference

#include <mutex>

+ Inheritance diagram for os::estd::recursive_timed_mutex:

Public Member Functions

 recursive_timed_mutex ()=default
 
 recursive_timed_mutex (const recursive_timed_mutex &)=delete
 
 ~recursive_timed_mutex ()=default
 
recursive_timed_mutexoperator= (const recursive_timed_mutex &)=delete
 
template<typename Rep_T , typename Period_T >
bool try_lock_for (const std::chrono::duration< Rep_T, Period_T > &rel_time)
 
template<typename Clock_T , typename Duration_T >
bool try_lock_until (const std::chrono::time_point< Clock_T, Duration_T > &abs_time)
 

Private Types

using native_handle_type = native_type *
 
using native_type = os::rtos::mutex
 

Private Member Functions

void lock ()
 
native_handle_type native_handle ()
 
bool try_lock () noexcept
 
void unlock ()
 

Private Attributes

native_type nm_
 

Detailed Description

Definition at line 158 of file mutex.

Member Typedef Documentation

◆ native_handle_type

Definition at line 105 of file mutex.

◆ native_type

Definition at line 101 of file mutex.

Constructor & Destructor Documentation

◆ recursive_timed_mutex() [1/2]

os::estd::recursive_timed_mutex::recursive_timed_mutex ( )
default

◆ ~recursive_timed_mutex()

os::estd::recursive_timed_mutex::~recursive_timed_mutex ( )
default

◆ recursive_timed_mutex() [2/2]

os::estd::recursive_timed_mutex::recursive_timed_mutex ( const recursive_timed_mutex )
delete

Member Function Documentation

◆ lock()

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

Definition at line 75 of file mutex.cpp.

◆ native_handle()

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

Definition at line 208 of file mutex.

◆ operator=()

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

◆ try_lock()

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

Definition at line 87 of file mutex.cpp.

◆ try_lock_for()

template<typename Rep_T , typename Period_T >
bool os::estd::recursive_timed_mutex::try_lock_for ( const std::chrono::duration< Rep_T, Period_T > &  rel_time)

Definition at line 277 of file mutex.

◆ try_lock_until()

template<typename Clock_T , typename Duration_T >
bool os::estd::recursive_timed_mutex::try_lock_until ( const std::chrono::time_point< Clock_T, Duration_T > &  abs_time)

Definition at line 307 of file mutex.

◆ unlock()

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

Definition at line 106 of file mutex.cpp.

Member Data Documentation

◆ nm_

native_type os::estd::recursive_mutex::nm_
protectedinherited

Definition at line 129 of file mutex.


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