rodecomp/Source/Utility/Threading/NSyncObject.h
ragnarok-clanker 1d0e5dc05e Maintenance: Add mandatory field offset markers /* XXXX */ and assertions to Utility headers (Async, Math, Threading)
Batch #1057 by ragnarok-clanker: no function's compiled code changes; checked with 75 compiled unit(s), including every includer of Source/Utility/Async/AsyncDiagnostic.h, Source/Utility/Async/NAsyncWorkQueue.h, Source/Utility/Async/NMessageQueue.h, Source/Utility/Async/NRecycleObjectPoolMgr.h, Source/Utility/Math/AffineMatrix.h, Source/Utility/Threading/CSyncObject.h, Source/Utility/Threading/NSyncObject.h.
2026-10-27 13:40:06 +00:00

19 lines
408 B
C++

#ifndef RAGNAROK_SOURCE_UTILITY_THREADING_NSYNCOBJECT_H
#define RAGNAROK_SOURCE_UTILITY_THREADING_NSYNCOBJECT_H
#include <windows.h>
class NSyncObject {
public:
explicit NSyncObject(CRITICAL_SECTION* criticalSection);
virtual ~NSyncObject();
private:
/* 0004 */ CRITICAL_SECTION* m_criticalSection;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(NSyncObject) == 8);
#endif
#endif