LearnWithTouch/App/LearnWithTouch_ios/Libraries/libil2cpp/include/os/Posix/AtomicImpl.h
2019-07-01 14:33:21 +02:00

20 lines
244 B
C++

#pragma once
// Assumes clang or gcc as compiler.
#if IL2CPP_TARGET_POSIX
#include "os/c-api/Atomic-c-api.h"
namespace il2cpp
{
namespace os
{
inline void Atomic::FullMemoryBarrier()
{
__sync_synchronize();
}
}
}
#endif