libycxx

class

std::shared_timed_mutex

Scope
std

Synopsis

class shared_timed_mutex;

Member functions

NameDeclaration
shared_timed_mutexconstructor · 2 overloadsshared_timed_mutex() +1 more
~shared_timed_mutexdestructor~shared_timed_mutex()
operator=operatorshared_timed_mutex& operator=(const shared_timed_mutex& other)
lockmember functionvoid lock()
lock_sharedmember functionvoid lock_shared()
try_lockmember functionbool try_lock()
try_lock_formember function templatebool try_lock_for(const chrono::duration<Rep, Period>& rel_time)
try_lock_sharedmember functionbool try_lock_shared()
try_lock_shared_formember function templatebool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time)
try_lock_shared_untilmember function templatebool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time)
try_lock_untilmember function templatebool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time)
unlockmember functionvoid unlock()
unlock_sharedmember functionvoid unlock_shared()