1
0
Fork 0
mirror of https://github.com/isledecomp/isle.git synced 2024-12-27 16:32:31 -05:00
isle/LEGO1/omni/include/mxcriticalsection.h

23 lines
364 B
C
Raw Normal View History

2023-06-12 14:46:44 -04:00
#ifndef MXCRITICALSECTION_H
#define MXCRITICALSECTION_H
#include <windows.h>
2023-06-12 14:46:44 -04:00
2023-11-28 08:26:39 -05:00
// SIZE 0x1c
2023-10-24 19:38:27 -04:00
class MxCriticalSection {
2023-06-12 14:46:44 -04:00
public:
MxCriticalSection();
~MxCriticalSection();
static void SetDoMutex();
2023-10-24 19:38:27 -04:00
void Enter();
void Leave();
2023-06-12 14:46:44 -04:00
private:
CRITICAL_SECTION m_criticalSection; // 0x00
HANDLE m_mutex; // 0x18
2023-06-12 14:46:44 -04:00
};
#endif // MXCRITICALSECTION_H