summaryrefslogtreecommitdiffstats
path: root/Alc/backends/null.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/null.c
parent528c8c5e774b28b74393b5517d8bee268f1d9624 (diff)
Rename SetThreadName to althrd_setname
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r--Alc/backends/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c
index a96ab701..2c13a80f 100644
--- a/Alc/backends/null.c
+++ b/Alc/backends/null.c
@@ -78,7 +78,7 @@ static int ALCnullBackend_mixerProc(void *ptr)
device->Frequency / 2);
SetRTPriority();
- SetThreadName(MIXER_THREAD_NAME);
+ althrd_setname(althrd_current(), MIXER_THREAD_NAME);
done = 0;
if(altimespec_get(&start, AL_TIME_UTC) != AL_TIME_UTC)