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

#include <mutex>

+ Inheritance diagram for os::estd::timed_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_
 

Private Types

using native_type = os::rtos::mutex
 

Detailed Description

Definition at line 134 of file mutex.

Member Typedef Documentation

◆ native_handle_type

Definition at line 67 of file mutex.

◆ native_type

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

Definition at line 30 of file mutex.cpp.

◆ native_handle()

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

Definition at line 193 of file mutex.

◆ operator=()

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

◆ try_lock()

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

Definition at line 42 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 223 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 253 of file mutex.

◆ unlock()

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

Definition at line 61 of file mutex.cpp.

Member Data Documentation

◆ nm_

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

Definition at line 92 of file mutex.


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