15#ifndef A_UTIL_UTIL_CONCURRENCY_SHARED_MUTEX_HEADER_INCLUDED
16#define A_UTIL_UTIL_CONCURRENCY_SHARED_MUTEX_HEADER_INCLUDED
28 shared_mutex& operator=(
const shared_mutex&);
31 std::unique_ptr<impl> p;
void lock()
Lock the mutex, blocks if the mutex is not available.
void unlock_shared()
Unlock the mutex (shared ownership)
~shared_mutex()
DTOR - does not call unlock!
void lock_shared()
Lock the mutex for shared ownership, blocks if the mutex is not available.
void unlock()
Unlock the mutex.
shared_mutex()
CTOR - creates the mutex in an unlocked state.
Definition concurrency.h:24
Serves as the root component, with common functionality documented in core functionality.
Definition base.h:24