diff options
author | Ariel Manzur <ariel@okamstudio.com> | 2016-01-31 20:22:38 -0300 |
---|---|---|
committer | Ariel Manzur <ariel@okamstudio.com> | 2016-01-31 20:23:24 -0300 |
commit | 0cd8c054a2070a9b91505d5f3a9addfe131352f1 (patch) | |
tree | 27118161c7a4dd8fe88c6a99e7bacceaa71be80d /servers/audio/audio_server_sw.cpp | |
parent | b406aae790fe8f4cf331fa7fac629b418a674754 (diff) |
thread renaming
Diffstat (limited to 'servers/audio/audio_server_sw.cpp')
-rw-r--r-- | servers/audio/audio_server_sw.cpp | 3 |
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 } |