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

Inherits os::estd::mutex.

Public Types

using native_handle_type = native_type *
 

Public Member Functions

 timed_mutex ()=default
 
 timed_mutex (const timed_mutex &)=delete
 
 ~timed_mutex ()=default
 
void lock ()
 
native_handle_type native_handle ()
 
timed_mutexoperator= (const timed_mutex &)=delete
 
bool try_lock ()
 
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)
 
void unlock ()
 

Protected Attributes

native_type nm_
 

Detailed Description

Definition at line 142 of file mutex.

Types

◆ native_handle_type

Definition at line 75 of file mutex.

Constructor & Destructor Documentation

◆ timed_mutex() [1/2]

os::estd::timed_mutex::timed_mutex ( )
default

◆ ~timed_mutex()

os::estd::timed_mutex::~timed_mutex ( )
default

◆ timed_mutex() [2/2]

os::estd::timed_mutex::timed_mutex ( const timed_mutex )
delete

Member Function Documentation

◆ lock()

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

Definition at line 39 of file mutex.cpp.

◆ native_handle()

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

Definition at line 202 of file mutex.

◆ operator=()

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

◆ try_lock()

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

Definition at line 51 of file mutex.cpp.

◆ try_lock_for()

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

Definition at line 230 of file mutex.

◆ try_lock_until()

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

Definition at line 260 of file mutex.

◆ unlock()

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

Definition at line 70 of file mutex.cpp.

Member Data Documentation

◆ nm_

native_type os::estd::mutex::nm_
protectedinherited

Definition at line 100 of file mutex.


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