X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Funix%2Fthread.cpp;fp=source%2Fcore%2Funix%2Fthread.cpp;h=42231934c00ed6c58b9e0ec766bee7cecf7f3ebf;hp=1ddcaaea4bcf947a50fb411f0991a86b8b47def9;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=26a5878092f6547e701fd1a33abbf1878d26ab70 diff --git a/source/core/unix/thread.cpp b/source/core/unix/thread.cpp index 1ddcaae..4223193 100644 --- a/source/core/unix/thread.cpp +++ b/source/core/unix/thread.cpp @@ -7,7 +7,7 @@ namespace Msp { void Thread::platform_join() { - pthread_join(_priv->handle, 0); + pthread_join(_priv->handle, nullptr); } void Thread::platform_kill() @@ -17,7 +17,7 @@ void Thread::platform_kill() void Thread::platform_launch() { - pthread_create(&_priv->handle, 0, &Private::main_wrapper, this); + pthread_create(&_priv->handle, nullptr, &Private::main_wrapper, this); } void Thread::platform_setname()