6#include "HAL/PlatformProcess.h"
25 if (!bFlag.exchange(
true, std::memory_order_acquire))
30 while (bFlag.load(std::memory_order_relaxed))
32 FPlatformProcess::Yield();
39 return !bFlag.exchange(
true, std::memory_order_acquire);
44 bFlag.store(
false, std::memory_order_release);
#define UE_NONCOPYABLE(TypeName)
std::atomic< bool > bFlag