summaryrefslogtreecommitdiff
path: root/servers/audio/audio_server_sw.cpp
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2016-01-31 20:22:38 -0300
committerAriel Manzur <ariel@okamstudio.com>2016-01-31 20:23:24 -0300
commit0cd8c054a2070a9b91505d5f3a9addfe131352f1 (patch)
tree27118161c7a4dd8fe88c6a99e7bacceaa71be80d /servers/audio/audio_server_sw.cpp
parentb406aae790fe8f4cf331fa7fac629b418a674754 (diff)
thread renaming
Diffstat (limited to 'servers/audio/audio_server_sw.cpp')
-rw-r--r--servers/audio/audio_server_sw.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/audio/audio_server_sw.cpp b/servers/audio/audio_server_sw.cpp
index d634c348dc..8b5b5e4f46 100644
--- a/servers/audio/audio_server_sw.cpp
+++ b/servers/audio/audio_server_sw.cpp
@@ -765,6 +765,8 @@ void AudioServerSW::free(RID p_id) {
void AudioServerSW::_thread_func(void *self) {
+ Thread::set_name("AudioServerSW");
+
AudioServerSW *as=(AudioServerSW *)self;
while (!as->exit_update_thread) {
@@ -807,7 +809,6 @@ void AudioServerSW::init() {
#ifndef NO_THREADS
exit_update_thread=false;
thread = Thread::create(_thread_func,this);
- thread->set_name("AudioServerSW");
#endif
}