proxygen
|
#include <LockTraits.h>
Static Public Member Functions | |
static void | lock_shared (Mutex &mutex) |
static void | unlock_shared (Mutex &mutex) |
static bool | try_lock_shared (Mutex &mutex) |
![]() | |
static void | lock (Mutex &mutex) |
static void | unlock (Mutex &mutex) |
static bool | try_lock (Mutex &mutex) |
Static Public Attributes | |
static constexpr bool | is_timed {false} |
static constexpr bool | is_shared {true} |
static constexpr bool | is_upgrade {false} |
![]() | |
static constexpr bool | is_timed {false} |
static constexpr bool | is_shared {false} |
static constexpr bool | is_upgrade {false} |
Higher level mutexes have all the capabilities of the lower levels so inherit
Definition at line 147 of file LockTraits.h.
|
inlinestatic |
Acquire the lock in shared (read) mode.
Definition at line 156 of file LockTraits.h.
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 150 of file LockTraits.h.
|
static |
Definition at line 149 of file LockTraits.h.
|
static |
Definition at line 151 of file LockTraits.h.