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 > &) |
Static Public Member Functions inherited from folly::LockPolicyShared | |
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) |
Static Public Member Functions inherited from folly::detail::UnlockPolicyShared< LockTraits > | |
template<typename Mutex > | |
static void | unlock (Mutex &mutex) |
Additional Inherited Members | |
Public Types inherited from folly::LockPolicyShared | |
using | UnlockPolicy = detail::UnlockPolicyShared< LockTraits > |
A lock policy with the following mapping
lock() -> unlock_upgrade_and_lock_shared() unlock() -> unlock_shared() try_lock_for -> unlock_upgrade_and_lock_shared()
Definition at line 624 of file LockTraits.h.
|
inlinestatic |
|
inlinestatic |