summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/Thread.cpp')
-rw-r--r--Source/Core/Common/Src/Thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/Thread.cpp b/Source/Core/Common/Src/Thread.cpp
index 57196c837b..b7d185284d 100644
--- a/Source/Core/Common/Src/Thread.cpp
+++ b/Source/Core/Common/Src/Thread.cpp
@@ -91,7 +91,7 @@ void Thread::WaitForDeath()
{
if (m_hThread)
{
- WaitForSingleObject(m_hThread, THREAD_WAIT_TIMEOUT);
+ WaitForSingleObject(m_hThread, INFINITE);
CloseHandle(m_hThread);
m_hThread = NULL;
}
@@ -140,7 +140,7 @@ void Event::Set()
void Event::Wait()
{
- WaitForSingleObject(m_hEvent, THREAD_WAIT_TIMEOUT);
+ WaitForSingleObject(m_hEvent, INFINITE);
}
inline HRESULT MsgWaitForSingleObject(HANDLE handle, DWORD timeout)