System/Log (16 functions) and Thread::WaitForever. Storm SComp review: ImaAdpcmCompress size compares are signed as in 12340. AllocSTL_raw and CCritSect members marked INLINED; SSyncObject ctor out of the header. Platform layout: Windows API code lives in <dir>/Win32/ (whole file in #if WOWDECOMP_ARCH_32) with full copies in <dir>/Win64/ (ARCH_64); no _M_X64 blocks inside files. Former W32/ and *_Win32.cpp files moved, their headers are generic now. Win32 API calls moved out of generic File/Log/Thread/Unicode/SCmd files; Storm SErr/SLog/SReg/SMsg moved whole. CODING_RULES section 7, PORTING_64BIT "Platform folders". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
25 lines
659 B
C++
25 lines
659 B
C++
#ifndef ENGINE_SOURCE_EVENT_EVTTHREAD_H
|
|
#define ENGINE_SOURCE_EVENT_EVTTHREAD_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Event/EvtContextQueue.h"
|
|
#include "Engine/Source/Storm/H/stpl.h"
|
|
#include "Engine/Source/Storm/Source/SLock.h"
|
|
|
|
class EvtThread;
|
|
|
|
class EvtThread : public TSLinkedNode<EvtThread> {
|
|
public:
|
|
/* 0008 */ uint32_t m_threadSlot;
|
|
/* 000C */ uint32_t m_threadCount;
|
|
/* 0010 */ uint32_t m_weightTotal;
|
|
/* 0014 */ uint32_t m_weightAvg;
|
|
/* 0018 */ uint32_t m_contextCount;
|
|
/* 001C */ uint32_t m_rebalance;
|
|
/* 0020 */ SEvent m_wakeEvent;
|
|
/* 0024 */ EvtContextQueue m_contextQueue;
|
|
};
|
|
|
|
#endif
|