LearnWithTouch/App/LearnWithTouch_ios/Libraries/libil2cpp/include/os/Posix/AtomicImpl.h

20 lines
244 B
C
Raw Normal View History

2019-07-01 14:33:21 +02:00
#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