From 7b537c795bd174b4b02418a37b377b4da5cfe266 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 17 Nov 2018 06:07:04 -0800 Subject: Don't pass the current thread to althrd_setname --- Alc/backends/oss.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/backends/oss.cpp') diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp index cf95bcfe..ebe4b15a 100644 --- a/Alc/backends/oss.cpp +++ b/Alc/backends/oss.cpp @@ -296,7 +296,7 @@ int ALCplaybackOSS_mixerProc(ALCplaybackOSS *self) int sret; SetRTPriority(); - althrd_setname(althrd_current(), MIXER_THREAD_NAME); + althrd_setname(MIXER_THREAD_NAME); frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder); @@ -558,7 +558,7 @@ int ALCcaptureOSS_recordProc(ALCcaptureOSS *self) int sret; SetRTPriority(); - althrd_setname(althrd_current(), RECORD_THREAD_NAME); + althrd_setname(RECORD_THREAD_NAME); frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder); -- cgit v1.2.3