.TH "std::shared_lock< _Mutex >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::shared_lock< _Mutex > \- shared_lock .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Mutex \fBmutex_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBshared_lock\fP (mutex_type &__m)" .br .ti -1c .RI "\fBshared_lock\fP (mutex_type &__m, \fBadopt_lock_t\fP)" .br .ti -1c .RI "template \fBshared_lock\fP (mutex_type &__m, const \fBchrono::duration\fP< _Rep, _Period > &__rel_time)" .br .ti -1c .RI "template \fBshared_lock\fP (mutex_type &__m, const \fBchrono::time_point\fP< _Clock, _Duration > &__abs_time)" .br .ti -1c .RI "\fBshared_lock\fP (mutex_type &__m, \fBdefer_lock_t\fP) noexcept" .br .ti -1c .RI "\fBshared_lock\fP (mutex_type &__m, \fBtry_to_lock_t\fP)" .br .ti -1c .RI "\fBshared_lock\fP (\fBshared_lock\fP &&__sl) noexcept" .br .ti -1c .RI "\fBshared_lock\fP (\fBshared_lock\fP const &)=delete" .br .ti -1c .RI "void \fBlock\fP ()" .br .ti -1c .RI "mutex_type * \fBmutex\fP () const noexcept" .br .ti -1c .RI "\fBoperator bool\fP () const noexcept" .br .ti -1c .RI "\fBshared_lock\fP & \fBoperator=\fP (\fBshared_lock\fP &&__sl) noexcept" .br .ti -1c .RI "\fBshared_lock\fP & \fBoperator=\fP (\fBshared_lock\fP const &)=delete" .br .ti -1c .RI "bool \fBowns_lock\fP () const noexcept" .br .ti -1c .RI "mutex_type * \fBrelease\fP () noexcept" .br .ti -1c .RI "void \fBswap\fP (\fBshared_lock\fP &__u) noexcept" .br .ti -1c .RI "bool \fBtry_lock\fP ()" .br .ti -1c .RI "template bool \fBtry_lock_for\fP (const \fBchrono::duration\fP< _Rep, _Period > &__rel_time)" .br .ti -1c .RI "template bool \fBtry_lock_until\fP (const \fBchrono::time_point\fP< _Clock, _Duration > &__abs_time)" .br .ti -1c .RI "void \fBunlock\fP ()" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::shared_lock< _Mutex >"shared_lock .PP Definition at line \fB715\fP of file \fBshared_mutex\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _Mutex \fBstd::shared_lock\fP< _Mutex >::mutex_type" .PP Definition at line \fB718\fP of file \fBshared_mutex\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB722\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB725\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m, \fBdefer_lock_t\fP)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB729\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m, \fBtry_to_lock_t\fP)\fC [inline]\fP" .PP Definition at line \fB732\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m, \fBadopt_lock_t\fP)\fC [inline]\fP" .PP Definition at line \fB735\fP of file \fBshared_mutex\fP\&. .SS "template template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m, const \fBchrono::time_point\fP< _Clock, _Duration > & __abs_time)\fC [inline]\fP" .PP Definition at line \fB739\fP of file \fBshared_mutex\fP\&. .SS "template template \fBstd::shared_lock\fP< _Mutex >::shared_lock (mutex_type & __m, const \fBchrono::duration\fP< _Rep, _Period > & __rel_time)\fC [inline]\fP" .PP Definition at line \fB745\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::~\fBshared_lock\fP ()\fC [inline]\fP" .PP Definition at line \fB750\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::shared_lock (\fBshared_lock\fP< _Mutex > && __sl)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB759\fP of file \fBshared_mutex\fP\&. .SH "Member Function Documentation" .PP .SS "template void \fBstd::shared_lock\fP< _Mutex >::lock ()\fC [inline]\fP" .PP Definition at line \fB770\fP of file \fBshared_mutex\fP\&. .SS "template mutex_type * \fBstd::shared_lock\fP< _Mutex >::mutex () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB831\fP of file \fBshared_mutex\fP\&. .SS "template \fBstd::shared_lock\fP< _Mutex >::operator bool () const\fC [inline]\fP, \fC [explicit]\fP, \fC [noexcept]\fP" .PP Definition at line \fB829\fP of file \fBshared_mutex\fP\&. .SS "template \fBshared_lock\fP & \fBstd::shared_lock\fP< _Mutex >::operator= (\fBshared_lock\fP< _Mutex > && __sl)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB763\fP of file \fBshared_mutex\fP\&. .SS "template bool \fBstd::shared_lock\fP< _Mutex >::owns_lock () const\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB827\fP of file \fBshared_mutex\fP\&. .SS "template mutex_type * \fBstd::shared_lock\fP< _Mutex >::release ()\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB819\fP of file \fBshared_mutex\fP\&. .SS "template void \fBstd::shared_lock\fP< _Mutex >::swap (\fBshared_lock\fP< _Mutex > & __u)\fC [inline]\fP, \fC [noexcept]\fP" .PP Definition at line \fB812\fP of file \fBshared_mutex\fP\&. .SS "template bool \fBstd::shared_lock\fP< _Mutex >::try_lock ()\fC [inline]\fP" .PP Definition at line \fB778\fP of file \fBshared_mutex\fP\&. .SS "template template bool \fBstd::shared_lock\fP< _Mutex >::try_lock_for (const \fBchrono::duration\fP< _Rep, _Period > & __rel_time)\fC [inline]\fP" .PP Definition at line \fB786\fP of file \fBshared_mutex\fP\&. .SS "template template bool \fBstd::shared_lock\fP< _Mutex >::try_lock_until (const \fBchrono::time_point\fP< _Clock, _Duration > & __abs_time)\fC [inline]\fP" .PP Definition at line \fB794\fP of file \fBshared_mutex\fP\&. .SS "template void \fBstd::shared_lock\fP< _Mutex >::unlock ()\fC [inline]\fP" .PP Definition at line \fB801\fP of file \fBshared_mutex\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.