mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Beta match MxThread and MxSemaphore (#1644)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user