diff options
author | madmaxoft <github@xoft.cz> | 2013-12-20 19:10:07 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-20 19:10:15 +0100 |
commit | f5e6124ee06f2c42f921391c186800adbeb8bc05 (patch) | |
tree | 00c5ce40307762bb6466889f22c3a5d888ebd3b7 /src/OSSupport | |
parent | Or not. Fixes #384 (diff) | |
download | cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.gz cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.bz2 cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.lz cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.xz cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.tar.zst cuberite-f5e6124ee06f2c42f921391c186800adbeb8bc05.zip |
Diffstat (limited to 'src/OSSupport')
-rw-r--r-- | src/OSSupport/IsThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OSSupport/IsThread.cpp b/src/OSSupport/IsThread.cpp index 7eb114a82..36205bcf1 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -51,8 +51,8 @@ static void SetThreadName( DWORD dwThreadID, LPCSTR szThreadName) // cIsThread: cIsThread::cIsThread(const AString & iThreadName) : - m_ThreadName(iThreadName), m_ShouldTerminate(false), + m_ThreadName(iThreadName), m_Handle(NULL_HANDLE) { } @@ -144,7 +144,7 @@ bool cIsThread::Wait(void) return (res == WAIT_OBJECT_0); #else // _WIN32 int res = pthread_join(m_Handle, NULL); - m_Handle = NULL; + m_Handle = NULL_HANDLE; #ifdef LOGD // ProtoProxy doesn't have LOGD LOGD("Thread %s finished", m_ThreadName.c_str()); |