Scroll to navigation

std::shared_timed_mutex(3cxx) std::shared_timed_mutex(3cxx)


std::shared_timed_mutex - The standard shared timed mutex type.


Inherits std::__shared_mutex_cv.

Public Member Functions

shared_timed_mutex (const shared_timed_mutex &)=delete
void lock ()
void lock_shared ()
shared_timed_mutex & operator= (const shared_timed_mutex &)=delete
bool try_lock ()
template<typename _Rep , typename _Period > bool try_lock_for (const chrono::duration< _Rep, _Period > &__rel_time)
bool try_lock_shared ()
template<typename _Rep , typename _Period > bool try_lock_shared_for (const chrono::duration< _Rep, _Period > &__rel_time)
template<typename _Clock , typename _Duration > bool try_lock_shared_until (const chrono::time_point< _Clock, _Duration > &__abs_time)
template<typename _Clock , typename _Duration > bool try_lock_until (const chrono::time_point< _Clock, _Duration > &__abs_time)
void unlock ()
void unlock_shared ()

Detailed Description

The standard shared timed mutex type.

Definition at line 442 of file shared_mutex.


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

Sun Feb 7 2021 libstdc++