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

Inherits os::estd::recursive_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 *
 

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

Types

◆ native_handle_type

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

Definition at line 84 of file mutex.cpp.

◆ native_handle()

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

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

Definition at line 96 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 284 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 314 of file mutex.

◆ unlock()

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

Definition at line 115 of file mutex.cpp.

Member Data Documentation

◆ nm_

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

Definition at line 137 of file mutex.


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