class
std::shared_timed_mutex
- Header
<shared_mutex>- Scope
std- cppreference
- std::shared_timed_mutex
Synopsis
class shared_timed_mutex;Member functions
| Name | Declaration |
|---|---|
shared_timed_mutexconstructor · 2 overloads | shared_timed_mutex() +1 more |
~shared_timed_mutexdestructor | ~shared_timed_mutex() |
operator=operator | shared_timed_mutex& operator=(const shared_timed_mutex& other) |
lockmember function | void lock() |
lock_sharedmember function | void lock_shared() |
try_lockmember function | bool try_lock() |
try_lock_formember function template | bool try_lock_for(const chrono::duration<Rep, Period>& rel_time) |
try_lock_sharedmember function | bool try_lock_shared() |
try_lock_shared_formember function template | bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time) |
try_lock_shared_untilmember function template | bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time) |
try_lock_untilmember function template | bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time) |
unlockmember function | void unlock() |
unlock_sharedmember function | void unlock_shared() |