proxygen
|
SpinLock is and must stay a 1-byte object because of how Core is laid out. More...
#include <Core.h>
Public Member Functions | |
SpinLock () | |
Additional Inherited Members | |
Private Types inherited from folly::MicroSpinLock | |
enum | { FREE = 0, LOCKED = 1 } |
Private Member Functions inherited from folly::MicroSpinLock | |
void | init () noexcept |
bool | try_lock () noexcept |
void | lock () noexcept |
void | unlock () noexcept |
Private Attributes inherited from folly::MicroSpinLock | |
uint8_t | lock_ |
|
inline |
Definition at line 66 of file Core.h.
References folly::MicroSpinLock::lock(), and folly::MicroSpinLock::unlock().