proxygen
|
#include <SpinLock.h>
Public Member Functions | |
FOLLY_ALWAYS_INLINE | SpinLock () noexcept |
FOLLY_ALWAYS_INLINE void | lock () const noexcept |
FOLLY_ALWAYS_INLINE void | unlock () const noexcept |
FOLLY_ALWAYS_INLINE bool | try_lock () const noexcept |
Private Attributes | |
folly::MicroSpinLock | lock_ |
Definition at line 44 of file SpinLock.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 49 of file SpinLock.h.
References folly::MicroSpinLock::lock(), and lock_.
Referenced by folly::ssl::detail::isSSLLockDisabled().
|
inlinenoexcept |
Definition at line 55 of file SpinLock.h.
References lock_, and folly::MicroSpinLock::try_lock().
Referenced by folly::NotificationQueue< folly::AsyncServerSocket::QueueMessage >::checkQueueSize().
|
inlinenoexcept |
Definition at line 52 of file SpinLock.h.
References lock_, and folly::MicroSpinLock::unlock().
Referenced by folly::ssl::detail::isSSLLockDisabled(), folly::fibers::TimedRWMutex< BatonType >::ReadHolder::~ReadHolder(), and folly::fibers::TimedRWMutex< BatonType >::WriteHolder::~WriteHolder().
|
mutableprivate |
Definition at line 60 of file SpinLock.h.
Referenced by lock(), SpinLock(), folly::SpinLockGuardImpl< LOCK >::SpinLockGuardImpl(), try_lock(), unlock(), and folly::SpinLockGuardImpl< LOCK >::~SpinLockGuardImpl().