|
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::LockPolicyUpgrade | |
| 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::UnlockPolicyUpgrade< LockTraits > | |
| template<typename Mutex > | |
| static void | unlock (Mutex &mutex) |
Additional Inherited Members | |
Public Types inherited from folly::LockPolicyUpgrade | |
| 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 |