From 24bcdf5666d2546b9177b54b25d2fbfc54ab804b Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 25 Jun 2009 22:00:25 -0500 Subject: [PATCH] another termination fix espeak_thread needs to signal softsynth_thread once more as it is going town so that softsynth_thread will see that should_run is now 0 and terminate. --- synth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/synth.c b/synth.c index af2e6cc..ca9972c 100644 --- a/synth.c +++ b/synth.c @@ -277,6 +277,7 @@ void *espeak_thread(void *arg) pthread_cond_signal(&stop_acknowledged); } } + pthread_cond_signal(&stop_acknowledged); pthread_mutex_unlock(&queue_guard); return NULL; }