18 lines
236 B
C++
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();
|
||
|
|
}
|