summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StdThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/StdThread.h')
-rw-r--r--Source/Core/Common/StdThread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/StdThread.h b/Source/Core/Common/StdThread.h
index 8b8357fd89..787f25a167 100644
--- a/Source/Core/Common/StdThread.h
+++ b/Source/Core/Common/StdThread.h
@@ -193,7 +193,7 @@ public:
WaitForSingleObject(m_handle, INFINITE);
detach();
#else
- pthread_join(m_id.m_thread, NULL);
+ pthread_join(m_id.m_thread, nullptr);
m_id = id();
#endif
}
@@ -238,9 +238,9 @@ private:
void StartThread(F* param)
{
#ifdef USE_BEGINTHREADEX
- m_handle = (HANDLE)_beginthreadex(NULL, 0, &RunAndDelete<F>, param, 0, &m_id.m_thread);
+ m_handle = (HANDLE)_beginthreadex(nullptr, 0, &RunAndDelete<F>, param, 0, &m_id.m_thread);
#elif defined(_WIN32)
- m_handle = CreateThread(NULL, 0, &RunAndDelete<F>, param, 0, &m_id.m_thread);
+ m_handle = CreateThread(nullptr, 0, &RunAndDelete<F>, param, 0, &m_id.m_thread);
#else
pthread_attr_t attr;
pthread_attr_init(&attr);