std::shared_mutex - The standard shared mutex type.
Contents
Detailed Description
The standard shared mutex type.
Name
std::shared_mutex - The standard shared mutex type.
Synopsis
#include <shared_mutex>
PublicMemberFunctionsshared_mutex (const shared_mutex &)=deletevoidlock ()
voidlock_shared ()
shared_mutex & operator= (const shared_mutex &)=delete
bool try_lock ()
bool try_lock_shared ()
voidunlock ()
voidunlock_shared ()
RelatedSymbols
(Note that these are not member symbols.)
template<typename_Mutex > voidswap (shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept
Swap specialization for shared_lock.
