From ef7aedf5f272c52247d8ee9522d7b2896d21af63 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 26 Oct 2021 09:48:47 +0800 Subject: *misc --- Runtime/Threading/Mutex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Runtime/Threading/Mutex.cpp') diff --git a/Runtime/Threading/Mutex.cpp b/Runtime/Threading/Mutex.cpp index eabe48d..6be162f 100644 --- a/Runtime/Threading/Mutex.cpp +++ b/Runtime/Threading/Mutex.cpp @@ -14,12 +14,12 @@ Mutex::~Mutex() m_Handle = NULL; } -void Mutex::Lock() +void Mutex::LockSelf() { ::WaitForSingleObject(m_Handle, (~(uint32)0)); } -void Mutex::Unlock() +void Mutex::UnlockSelf() { ::ReleaseMutex(m_Handle); } \ No newline at end of file -- cgit v1.1-26-g67d0