proxygen
|
#include <LockTraits.h>
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 > &) |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
using | UnlockPolicy = detail::UnlockPolicyUpgrade< LockTraits > |
A lock policy with the following mapping
lock() -> unlock_and_lock_upgrade() unlock() -> unlock_upgrade() try_lock_for -> unlock_and_lock_upgrade()
Definition at line 600 of file LockTraits.h.
|
inlinestatic |
|
inlinestatic |