Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/External/LC_CriticalSection.cpp
Rolando Caloca 532adaa65c DR - Merging //UE4/Dev-Main@5531558 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#rnx

[CL 5591014 by Rolando Caloca in Dev-Rendering branch]
2019-03-27 11:33:31 -04:00

28 lines
434 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#include "LC_CriticalSection.h"
CriticalSection::CriticalSection(void)
{
Windows::InitializeCriticalSection(&m_cs);
}
CriticalSection::~CriticalSection(void)
{
Windows::DeleteCriticalSection(&m_cs);
}
void CriticalSection::Enter(void)
{
Windows::EnterCriticalSection(&m_cs);
}
void CriticalSection::Leave(void)
{
Windows::LeaveCriticalSection(&m_cs);
}