35 #include <type_traits> 37 #include <boost/noncopyable.hpp> 63 template <
typename LOCK>
#define FOLLY_ALWAYS_INLINE
folly::MicroSpinLock lock_
SpinLockGuardImpl< SpinLock > SpinLockGuard
—— Concurrent Priority Queue Implementation ——
FOLLY_ALWAYS_INLINE bool try_lock() const noexcept
requires E e noexcept(noexcept(s.error(std::move(e))))
FOLLY_ALWAYS_INLINE void unlock() const noexcept
FOLLY_ALWAYS_INLINE SpinLock() noexcept
FOLLY_ALWAYS_INLINE SpinLockGuardImpl(LOCK &lock) noexcept(noexcept(lock.lock()))
FOLLY_ALWAYS_INLINE ~SpinLockGuardImpl()
FOLLY_ALWAYS_INLINE void lock() const noexcept