summaryrefslogtreecommitdiff
path: root/Runtime/Threading/Mutex.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-26 09:48:47 +0800
committerchai <chaifix@163.com>2021-10-26 09:48:47 +0800
commitef7aedf5f272c52247d8ee9522d7b2896d21af63 (patch)
treec1259190bd51ed1225017507cd01612cc5a73a8c /Runtime/Threading/Mutex.cpp
parente7c760c884d90ef22fe46508b18081fe6e0f9291 (diff)
*misc
Diffstat (limited to 'Runtime/Threading/Mutex.cpp')
-rw-r--r--Runtime/Threading/Mutex.cpp4
1 files changed, 2 insertions, 2 deletions
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