Scroll to navigation

std::timed_mutex(3cxx) std::timed_mutex(3cxx)


std::timed_mutex - timed_mutex


Public Member Functions

timed_mutex (const timed_mutex &)=delete
void lock ()
timed_mutex & operator= (const timed_mutex &)=delete
bool try_lock ()
template<typename _Rep , typename _Period > bool try_lock_for (const chrono::duration< _Rep, _Period > &__rtime)
template<typename _Clock , typename _Duration > bool try_lock_until (const chrono::time_point< _Clock, _Duration > &__atime)
void unlock ()

Detailed Description


Definition at line 343 of file mutex.

Constructor & Destructor Documentation

std::timed_mutex::~timed_mutex () [inline]

Definition at line 352 of file mutex.

Member Function Documentation

void std::timed_mutex::lock () [inline]

Definition at line 358 of file mutex.

bool std::timed_mutex::try_lock () [inline]

Definition at line 366 of file mutex.

template<typename _Rep , typename _Period > bool std::timed_mutex::try_lock_for (const chrono::duration< _Rep, _Period > & __rtime) [inline]

Definition at line 377 of file mutex.

template<typename _Clock , typename _Duration > bool std::timed_mutex::try_lock_until (const chrono::time_point< _Clock, _Duration > & __atime) [inline]

Definition at line 388 of file mutex.

void std::timed_mutex::unlock () [inline]

Definition at line 398 of file mutex.


Generated automatically by Doxygen for libstdc++ from the source code.

Wed May 10 2023 libstdc++