mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-16 18:22:37 +00:00
Merge pull request #1114
This commit is contained in:
@@ -438,7 +438,9 @@ static void init(int process_parameters)
|
||||
|
||||
void fifo_terminate()
|
||||
{
|
||||
pthread_mutex_lock(&my_mutex);
|
||||
my_terminate_is_required = true;
|
||||
pthread_mutex_unlock(&my_mutex);
|
||||
pthread_cond_signal(&my_cond_start_is_required);
|
||||
pthread_join(my_thread, NULL);
|
||||
my_terminate_is_required = false;
|
||||
|
||||
Reference in New Issue
Block a user