too early to rename thread
This commit is contained in:
parent
0576e1e28f
commit
d4ed043968
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,7 @@ void AudioServerSW::_thread_func(void *self) {
|
||||||
|
|
||||||
AudioServerSW *as=(AudioServerSW *)self;
|
AudioServerSW *as=(AudioServerSW *)self;
|
||||||
|
|
||||||
as->thread->set_name("AudioServerSW");
|
//as->thread->set_name("AudioServerSW");
|
||||||
|
|
||||||
while (!as->exit_update_thread) {
|
while (!as->exit_update_thread) {
|
||||||
as->_update_streams(true);
|
as->_update_streams(true);
|
||||||
|
@ -811,6 +811,7 @@ void AudioServerSW::init() {
|
||||||
#ifndef NO_AUDIO_THREADS
|
#ifndef NO_AUDIO_THREADS
|
||||||
exit_update_thread=false;
|
exit_update_thread=false;
|
||||||
thread = Thread::create(_thread_func,this);
|
thread = Thread::create(_thread_func,this);
|
||||||
|
thread->set_name("AudioServerSW");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue