mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-09 12:46:50 -04:00
Update file names to match convention
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
struct Mutex : CRITICAL_SECTION
|
||||
{
|
||||
Mutex()
|
||||
{
|
||||
InitializeCriticalSection(this);
|
||||
}
|
||||
~Mutex()
|
||||
{
|
||||
DeleteCriticalSection(this);
|
||||
}
|
||||
|
||||
void lock()
|
||||
{
|
||||
EnterCriticalSection(this);
|
||||
}
|
||||
|
||||
void unlock()
|
||||
{
|
||||
LeaveCriticalSection(this);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user