Go to the documentation of this file.
30 #include "../../Platforms/interface/Atomics.hpp"
31 #include "../../Platforms/Basic/interface/DebugUtilities.hpp"
77 m_pLockFlag = std::move(
LockHelper.m_pLockFlag);
113 if (SpinCount == SpinCountToYield)
123 VERIFY(m_pLockFlag == NULL,
"Object already locked");
129 if (SpinCount == SpinCountToYield)
150 static void YieldThread() noexcept;
long Long
Definition: BasicAtomics.hpp:34
std::atomic< Long > AtomicLong
Definition: BasicAtomics.hpp:35
static Type AtomicCompareExchange(std::atomic< Type > &Destination, Type Exchange, Type Comparand)
Definition: BasicAtomics.hpp:58
#define VERIFY(...)
Definition: DebugUtilities.hpp:76