|
proxygen
|
#include <LockTraits.h>
Public Types | |
| using | UnlockPolicy = detail::UnlockPolicyShared< LockTraits > |
Static Public Member Functions | |
| template<class Mutex > | |
| static bool | lock (Mutex &mutex) |
Static Public Member Functions inherited from folly::detail::UnlockPolicyShared< LockTraits > | |
| template<typename Mutex > | |
| static void | unlock (Mutex &mutex) |
A lock policy that tries to acquire a read lock and returns true or false based on whether the lock operation succeeds
Definition at line 547 of file LockTraits.h.
Definition at line 548 of file LockTraits.h.
|
inlinestatic |
Definition at line 551 of file LockTraits.h.