diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index 260fcc40..d173fec7 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -1112,7 +1112,7 @@ void SysTraceWorker( void* ptr ) SetThreadName( "Tracy Sampling" ); InitRpmalloc(); sched_param sp = { 5 }; - pthread_setschedparam( pthread_self(), SCHED_FIFO, &sp ); + if( pthread_setschedparam( pthread_self(), SCHED_FIFO, &sp ) != 0 ) TracyDebug( "Failed to increase SysTraceWorker thread priority!\n" ); for( int i=0; i