You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
39 lines
635 B
C++
39 lines
635 B
C++
// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
|
|
|
|
// BEGIN EPIC MOD
|
|
//#include PCH_INCLUDE
|
|
// END EPIC MOD
|
|
#include "LC_CriticalSection.h"
|
|
|
|
|
|
CriticalSection::CriticalSection(void)
|
|
{
|
|
// BEGIN EPIC MOD
|
|
Windows::InitializeCriticalSection(&m_cs);
|
|
// END EPIC MOD
|
|
}
|
|
|
|
|
|
CriticalSection::~CriticalSection(void)
|
|
{
|
|
// BEGIN EPIC MOD
|
|
Windows::DeleteCriticalSection(&m_cs);
|
|
// END EPIC MOD
|
|
}
|
|
|
|
|
|
void CriticalSection::Enter(void)
|
|
{
|
|
// BEGIN EPIC MOD
|
|
Windows::EnterCriticalSection(&m_cs);
|
|
// END EPIC MOD
|
|
}
|
|
|
|
|
|
void CriticalSection::Leave(void)
|
|
{
|
|
// BEGIN EPIC MOD
|
|
Windows::LeaveCriticalSection(&m_cs);
|
|
// END EPIC MOD
|
|
}
|