proxygen
|
#include <LockTraits.h>
Public Types | |
using | UnlockPolicy = detail::UnlockPolicyUpgrade< LockTraits > |
Static Public Member Functions | |
template<class Mutex > | |
static bool | lock (Mutex &mutex) |
![]() | |
template<typename Mutex > | |
static void | unlock (Mutex &mutex) |
A lock policy that tries to acquire an upgrade lock and returns true or false based on whether the lock operation succeeds
Definition at line 560 of file LockTraits.h.
Definition at line 561 of file LockTraits.h.
|
inlinestatic |
Definition at line 564 of file LockTraits.h.