libstdc++
|
#include <shared_mutex>
Public Types | |
typedef _Mutex | mutex_type |
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 () |
shared_lock
Definition at line 731 of file shared_mutex.
typedef _Mutex std::shared_lock< _Mutex >::mutex_type |
Definition at line 734 of file shared_mutex.
|
inlinenoexcept |
Definition at line 738 of file shared_mutex.
|
inlineexplicit |
Definition at line 741 of file shared_mutex.
|
inlinenoexcept |
Definition at line 745 of file shared_mutex.
|
inline |
Definition at line 748 of file shared_mutex.
|
inline |
Definition at line 751 of file shared_mutex.
|
inline |
Definition at line 755 of file shared_mutex.
|
inline |
Definition at line 761 of file shared_mutex.
|
inline |
Definition at line 766 of file shared_mutex.
|
inlinenoexcept |
Definition at line 775 of file shared_mutex.
|
inline |
Definition at line 786 of file shared_mutex.
|
inlinenoexcept |
Definition at line 852 of file shared_mutex.
|
inlineexplicitnoexcept |
Definition at line 849 of file shared_mutex.
|
inlinenoexcept |
Definition at line 779 of file shared_mutex.
|
inlinenoexcept |
Definition at line 847 of file shared_mutex.
|
inlinenoexcept |
Definition at line 838 of file shared_mutex.
|
inlinenoexcept |
Definition at line 831 of file shared_mutex.
|
inline |
Definition at line 795 of file shared_mutex.
|
inline |
Definition at line 804 of file shared_mutex.
|
inline |
Definition at line 813 of file shared_mutex.
|
inline |
Definition at line 820 of file shared_mutex.