Kawe Mazidjatari b3a68ed095 Add EABase, EAThread and DirtySDK to R5sdk
DirtySDK (EA's Dirty Sockets library) will be used for the LiveAPI implementation, and depends on: EABase, EAThread.
2024-04-05 18:29:03 +02:00

27 lines
530 B
C++

///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#include "TestThread.h"
#include <EATest/EATest.h>
#include <eathread/eathread_sync.h>
#include <eathread/eathread.h>
int TestThreadSync()
{
using namespace EA::Thread;
int nErrorCount(0);
EAReadBarrier();
EAWriteBarrier();
EAReadWriteBarrier();
EACompilerMemoryBarrier();
return nErrorCount;
}