Beta match MxThread and MxSemaphore (#1644)

This commit is contained in:
MS
2025-07-20 21:58:16 -04:00
committed by GitHub
parent 2980f88bb0
commit 4edd8d1214
5 changed files with 82 additions and 13 deletions

View File

@@ -6,17 +6,20 @@
#include <windows.h>
// VTABLE: LEGO1 0x100dccf0
// VTABLE: BETA10 0x101c28ac
// SIZE 0x08
class MxSemaphore {
public:
MxSemaphore();
// FUNCTION: LEGO1 0x100c87e0
// FUNCTION: BETA10 0x101592a9
~MxSemaphore() { CloseHandle(m_hSemaphore); }
virtual MxResult Init(MxU32 p_initialCount, MxU32 p_maxCount);
void Wait(MxU32 p_timeoutMS);
void Acquire(MxU32 p_timeoutMS);
void TryAcquire();
void Release(MxU32 p_releaseCount);
private: