proxygen
|
#include <PicoSpinLock.h>
Public Types | |
typedef std::make_unsigned< IntType >::type | UIntType |
Public Member Functions | |
void | init (IntType initialValue=0) |
IntType | getData () const |
void | setData (IntType w) |
bool | try_lock () const |
void | lock () const |
void | unlock () const |
Public Attributes | |
UIntType | lock_ |
Static Public Attributes | |
static const UIntType | kLockBitMask_ = UIntType(1) << Bit |
Definition at line 73 of file PicoSpinLock.h.
typedef std::make_unsigned<IntType>::type folly::PicoSpinLock< IntType, Bit >::UIntType |
Definition at line 75 of file PicoSpinLock.h.
|
inline |
Definition at line 111 of file PicoSpinLock.h.
Referenced by folly::PackedSyncPtr< T >::extra(), folly::PackedSyncPtr< T >::get(), and folly::PackedSyncPtr< T >::setExtra().
|
inline |
Definition at line 96 of file PicoSpinLock.h.
Referenced by folly::PackedSyncPtr< T >::init().
|
inline |
|
inline |
Definition at line 124 of file PicoSpinLock.h.
Referenced by folly::PackedSyncPtr< T >::set(), and folly::PackedSyncPtr< T >::setExtra().
|
inline |
|
inline |
|
static |
Definition at line 85 of file PicoSpinLock.h.
|
mutable |
Definition at line 86 of file PicoSpinLock.h.