From d4ed0439680f7513d6a50be3aeb3a08875a4fb84 Mon Sep 17 00:00:00 2001 From: Ariel Manzur Date: Mon, 21 Dec 2015 09:38:44 -0300 Subject: too early to rename thread --- servers/audio/audio_server_sw.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'servers') 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 } -- cgit v1.2.3