October3d55/M/MultiThread/Source/MultiThreadLibrary/Private/ThreadMutex.cpp

18 lines
236 B
C++

// Copyright UnexGames 2025. All Rights Reserved.
#include "ThreadMutex.h"
bool UThreadMutex::TryLock()
{
return Section.TryLock();
}
void UThreadMutex::Lock()
{
Section.Lock();
}
void UThreadMutex::Unlock()
{
Section.Unlock();
}