#include <shared_mutex.hpp>
Public Member Functions | |
void | lock () |
void | unlock_shared () |
![]() | |
shared_mutex_base () | |
~shared_mutex_base () | |
shared_mutex_base (const shared_mutex_base &)=delete | |
shared_mutex_base & | operator= (const shared_mutex_base &)=delete |
bool | try_lock () |
void | unlock () |
void | lock_shared () |
bool | try_lock_shared () |
Additional Inherited Members | |
![]() | |
typedef std::mutex | mutex_t |
typedef std::condition_variable | cond_t |
typedef unsigned | count_t |
![]() | |
mutex_t | mut_ |
cond_t | gate1_ |
count_t | state_ |
![]() | |
static const count_t | write_entered_ = 1U << (sizeof(count_t) * CHAR_BIT - 1) |
static const count_t | n_readers_ = ~write_entered_ |
|
inline |
|
inline |