X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fthread.cpp;h=42231934c00ed6c58b9e0ec766bee7cecf7f3ebf;hb=HEAD;hp=1ddcaaea4bcf947a50fb411f0991a86b8b47def9;hpb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd;p=libs%2Fcore.git 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()