#include <shared_mutex>
Inherits __shared_timed_mutex_base.
|
| shared_timed_mutex (const shared_timed_mutex &)=delete |
|
void | lock () |
|
void | lock_shared () |
|
shared_timed_mutex & | operator= (const shared_timed_mutex &)=delete |
|
bool | try_lock () |
|
template<typename _Rep , typename _Period > |
bool | try_lock_for (const chrono::duration< _Rep, _Period > &__rtime) |
|
bool | try_lock_shared () |
|
template<typename _Rep , typename _Period > |
bool | try_lock_shared_for (const chrono::duration< _Rep, _Period > &__rtime) |
|
template<typename _Clock , typename _Duration > |
bool | try_lock_shared_until (const chrono::time_point< _Clock, _Duration > &__atime) |
|
template<typename _Duration > |
bool | try_lock_shared_until (const chrono::time_point< chrono::steady_clock, _Duration > &__atime) |
|
template<typename _Duration > |
bool | try_lock_shared_until (const chrono::time_point< chrono::system_clock, _Duration > &__atime) |
|
template<typename _Clock , typename _Duration > |
bool | try_lock_until (const chrono::time_point< _Clock, _Duration > &__atime) |
|
template<typename _Duration > |
bool | try_lock_until (const chrono::time_point< chrono::steady_clock, _Duration > &__atime) |
|
template<typename _Duration > |
bool | try_lock_until (const chrono::time_point< chrono::system_clock, _Duration > &__atime) |
|
void | unlock () |
|
void | unlock_shared () |
|
The standard shared timed mutex type.
Definition at line 457 of file shared_mutex.
◆ lock()
void std::shared_timed_mutex::lock |
( |
| ) |
|
|
inline |
◆ lock_shared()
void std::shared_timed_mutex::lock_shared |
( |
| ) |
|
|
inline |
◆ try_lock()
bool std::shared_timed_mutex::try_lock |
( |
| ) |
|
|
inlinenodiscard |
◆ try_lock_for()
template<typename _Rep , typename _Period >
bool std::shared_timed_mutex::try_lock_for |
( |
const chrono::duration< _Rep, _Period > & | __rtime | ) |
|
|
inlinenodiscard |
◆ try_lock_shared()
bool std::shared_timed_mutex::try_lock_shared |
( |
| ) |
|
|
inlinenodiscard |
◆ try_lock_shared_for()
template<typename _Rep , typename _Period >
bool std::shared_timed_mutex::try_lock_shared_for |
( |
const chrono::duration< _Rep, _Period > & | __rtime | ) |
|
|
inlinenodiscard |
◆ try_lock_shared_until() [1/3]
template<typename _Clock , typename _Duration >
bool std::shared_timed_mutex::try_lock_shared_until |
( |
const chrono::time_point< _Clock, _Duration > & | __atime | ) |
|
|
inlinenodiscard |
◆ try_lock_shared_until() [2/3]
template<typename _Duration >
◆ try_lock_shared_until() [3/3]
template<typename _Duration >
◆ try_lock_until() [1/3]
template<typename _Clock , typename _Duration >
bool std::shared_timed_mutex::try_lock_until |
( |
const chrono::time_point< _Clock, _Duration > & | __atime | ) |
|
|
inlinenodiscard |
◆ try_lock_until() [2/3]
template<typename _Duration >
◆ try_lock_until() [3/3]
template<typename _Duration >
◆ unlock()
void std::shared_timed_mutex::unlock |
( |
| ) |
|
|
inline |
◆ unlock_shared()
void std::shared_timed_mutex::unlock_shared |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: