Template Class shared_lock
Defined in File shared_mutex.hpp
Nested Relationships
Nested Types
Class Documentation
-
template<class Mutex>
class shared_lock -
Public Functions
-
inline shared_lock()
-
inline explicit shared_lock(mutex_type &m)
-
inline shared_lock(mutex_type &m, std::defer_lock_t)
-
inline shared_lock(mutex_type &m, std::try_to_lock_t)
-
inline shared_lock(mutex_type &m, std::adopt_lock_t)
-
template<class Clock, class Duration>
inline shared_lock(mutex_type &m, const std::chrono::time_point<Clock, Duration> &abs_time)
-
template<class Rep, class Period>
inline shared_lock(mutex_type &m, const std::chrono::duration<Rep, Period> &rel_time)
-
inline ~shared_lock()
-
shared_lock(shared_lock const&) = delete
-
shared_lock &operator=(shared_lock const&) = delete
-
inline shared_lock(shared_lock &&sl)
-
inline shared_lock &operator=(shared_lock &&sl)
-
inline explicit shared_lock(std::unique_lock<mutex_type> &&ul)
-
void lock()
-
bool try_lock()
-
template<class Rep, class Period>
inline bool try_lock_for(const std::chrono::duration<Rep, Period> &rel_time)
-
template<class Clock, class Duration>
bool try_lock_until(const std::chrono::time_point<Clock, Duration> &abs_time)
-
void unlock()
-
inline void swap(shared_lock &&u)
-
inline mutex_type *release()
-
inline bool owns_lock() const
-
inline operator int __nat::*() const
-
inline mutex_type *mutex() const
-
inline shared_lock()