diff options
author | Ariel Manzur <ariel@godotengine.org> | 2015-12-21 09:38:44 -0300 |
---|---|---|
committer | Ariel Manzur <ariel@godotengine.org> | 2015-12-21 09:38:44 -0300 |
commit | d4ed0439680f7513d6a50be3aeb3a08875a4fb84 (patch) | |
tree | a7a784292a3645bbc565bc992a8c01f8e86ff75a /servers | |
parent | 0576e1e28f41f103cd06452d810a04265e3574cc (diff) |
too early to rename thread
Diffstat (limited to 'servers')
-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 37c4856de5..eeb5876bc4 100644 --- a/servers/audio/audio_server_sw.cpp +++ b/servers/audio/audio_server_sw.cpp @@ -769,7 +769,7 @@ void AudioServerSW::_thread_func(void *self) { AudioServerSW *as=(AudioServerSW *)self; - as->thread->set_name("AudioServerSW"); + //as->thread->set_name("AudioServerSW"); while (!as->exit_update_thread) { as->_update_streams(true); @@ -811,6 +811,7 @@ void AudioServerSW::init() { #ifndef NO_AUDIO_THREADS exit_update_thread=false; thread = Thread::create(_thread_func,this); + thread->set_name("AudioServerSW"); #endif } |