libstdc++: std::shared_lock< _Mutex > Class Template Reference (original) (raw)

#include <[shared_mutex](a00188%5Fsource.html)>

Public Member Functions
shared_lock (mutex_type &__m)
shared_lock (mutex_type &__m, adopt_lock_t)
template<typename _Rep , typename _Period >
shared_lock (mutex_type &__m, const chrono::duration< _Rep, _Period > &__rel_time)
template<typename _Clock , typename _Duration >
shared_lock (mutex_type &__m, const chrono::time_point< _Clock, _Duration > &__abs_time)
shared_lock (mutex_type &__m, defer_lock_t) noexcept
shared_lock (mutex_type &__m, try_to_lock_t)
shared_lock (shared_lock &&__sl) noexcept
shared_lock (shared_lock const &)=delete
void lock ()
mutex_type * mutex () const noexcept
operator bool () const noexcept
shared_lock & operator= (shared_lock &&__sl) noexcept
shared_lock & operator= (shared_lock const &)=delete
bool owns_lock () const noexcept
mutex_type * release () noexcept
void swap (shared_lock &__u) noexcept
bool try_lock ()
template<typename _Rep , typename _Period >
bool try_lock_for (const chrono::duration< _Rep, _Period > &__rel_time)
template<typename _Clock , typename _Duration >
bool try_lock_until (const chrono::time_point< _Clock, _Duration > &__abs_time)
void unlock ()

template<typename _Mutex>
class std::shared_lock< _Mutex >

shared_lock

Definition at line 731 of file shared_mutex.

mutex_type

template<typename _Mutex >

template<typename _Mutex >

shared_lock() [2/8]

template<typename _Mutex >

shared_lock() [3/8]

template<typename _Mutex >

shared_lock() [4/8]

template<typename _Mutex >

shared_lock() [5/8]

template<typename _Mutex >

shared_lock() [6/8]

template<typename _Mutex >

template<typename _Clock , typename _Duration >

shared_lock() [7/8]

template<typename _Mutex >

template<typename _Rep , typename _Period >

~shared_lock()

template<typename _Mutex >

shared_lock() [8/8]

template<typename _Mutex >

lock()

template<typename _Mutex >

mutex()

template<typename _Mutex >

operator bool()

template<typename _Mutex >

operator=()

template<typename _Mutex >

owns_lock()

template<typename _Mutex >

release()

template<typename _Mutex >

swap()

template<typename _Mutex >

try_lock()

template<typename _Mutex >

try_lock_for()

template<typename _Mutex >

template<typename _Rep , typename _Period >

try_lock_until()

template<typename _Mutex >

template<typename _Clock , typename _Duration >

unlock()

template<typename _Mutex >


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