|
proxygen
|
#include <LockTraits.h>
Public Types | |
| using | UnlockPolicy = detail::UnlockPolicyShared< 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) |
Static Public Member Functions inherited from folly::detail::UnlockPolicyShared< LockTraits > | |
| template<typename Mutex > | |
| static void | unlock (Mutex &mutex) |
A lock policy that performs shared lock operations. This policy only works with shared mutex types.
Definition at line 488 of file LockTraits.h.
Definition at line 489 of file LockTraits.h.
|
inlinestatic |
Definition at line 492 of file LockTraits.h.
|
inlinestatic |
Definition at line 497 of file LockTraits.h.