DOKK / manpages / debian 12 / libstdc++-11-doc / std::shared_mutex.3cxx.en
std::shared_mutex(3cxx) std::shared_mutex(3cxx)

std::shared_mutex - The standard shared mutex type.


shared_mutex (const shared_mutex &)=delete
void lock ()
void lock_shared ()
shared_mutex & operator= (const shared_mutex &)=delete
bool try_lock ()
bool try_lock_shared ()
void unlock ()
void unlock_shared ()

(Note that these are not member functions.)
template<typename _Mutex > void swap (shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept
Swap specialization for shared_lock.

The standard shared mutex type.

Definition at line 409 of file shared_mutex.

Definition at line 420 of file shared_mutex.

Definition at line 426 of file shared_mutex.

Definition at line 421 of file shared_mutex.

Definition at line 427 of file shared_mutex.

Definition at line 422 of file shared_mutex.

Definition at line 428 of file shared_mutex.

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

Thu Feb 16 2023 libstdc++