proxygen
|
#include <LockTraits.h>
Public Types | |
using | UnlockPolicy = detail::UnlockPolicyUpgrade< LockTraits > |
Static Public Member Functions | |
template<class Mutex > | |
static std::true_type | lock (Mutex &mutex) |
template<class Mutex , class Rep , class Period > | |
static bool | try_lock_for (Mutex &mutex, const std::chrono::duration< Rep, Period > &timeout) |
![]() | |
template<typename Mutex > | |
static void | unlock (Mutex &mutex) |
A lock policy with the following mapping
lock() -> lock_upgrade() unlock() -> unlock_upgrade() try_lock_for -> try_lock_upgrade_for()
Definition at line 511 of file LockTraits.h.
Definition at line 512 of file LockTraits.h.
|
inlinestatic |
|
inlinestatic |