proxygen
|
#include <MicroLock.h>
Public Member Functions | |
void | lock (unsigned slot) |
void | lock () |
bool | try_lock (unsigned slot) |
bool | try_lock () |
Public Member Functions inherited from folly::MicroLockCore | |
void | unlock (unsigned slot) |
void | unlock () |
void | init () |
Additional Inherited Members | |
Protected Member Functions inherited from folly::MicroLockCore | |
detail::Futex * | word () const |
uint32_t | baseShift (unsigned slot) const |
uint32_t | heldBit (unsigned slot) const |
uint32_t | waitBit (unsigned slot) const |
Static Protected Member Functions inherited from folly::MicroLockCore | |
static void | lockSlowPath (uint32_t oldWord, detail::Futex<> *wordPtr, uint32_t slotHeldBit, unsigned maxSpins, unsigned maxYields) |
Protected Attributes inherited from folly::MicroLockCore | |
uint8_t | lock_ |
Definition at line 170 of file MicroLock.h.
|
inline |
Definition at line 210 of file MicroLock.h.
References folly::MicroLockCore::heldBit(), folly::MicroLockCore::lockSlowPath(), uint32_t, folly::MicroLockCore::waitBit(), and folly::MicroLockCore::word().
|
inline |
Definition at line 173 of file MicroLock.h.
References folly::lock(), and NO_SANITIZE_ADDRESS.
|
inline |
Definition at line 183 of file MicroLock.h.
References folly::MicroLockCore::heldBit(), uint32_t, and folly::MicroLockCore::word().
|
inline |
Definition at line 177 of file MicroLock.h.