aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-17 20:41:32 -0700
committerChris Robinson <[email protected]>2014-04-17 20:41:32 -0700
commit36df67f546c3162e06964ca6a2466023647c7485 (patch)
tree8a7ed509289f839cf0149025a7284ba07aadaba4 /Alc/backends/oss.c
parent528c8c5e774b28b74393b5517d8bee268f1d9624 (diff)
Rename SetThreadName to althrd_setname
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r--Alc/backends/oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index 2a4e4dd3..93e026e9 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -107,7 +107,7 @@ static int ALCplaybackOSS_mixerProc(void *ptr)
ssize_t wrote;
SetRTPriority();
- SetThreadName(MIXER_THREAD_NAME);
+ althrd_setname(althrd_current(), MIXER_THREAD_NAME);
frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType);
@@ -345,7 +345,7 @@ static int ALCcaptureOSS_recordProc(void *ptr)
int amt;
SetRTPriority();
- SetThreadName("alsoft-record");
+ althrd_setname(althrd_current(), "alsoft-record");
frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType);