mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
wake up espeak_thread when softsynth_thread terminates
espeak_thread needs a signal since it might be sleeping and should_run has changed. This makes sure it terminates.
This commit is contained in:
parent
5ebe506026
commit
5ec3809c59
1 changed files with 1 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ void *softsynth_thread(void *arg)
|
|||
process_buffer(s, buf, length);
|
||||
pthread_mutex_lock(&queue_guard);
|
||||
}
|
||||
pthread_cond_signal(&runner_awake);
|
||||
pthread_mutex_unlock(&queue_guard);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue