mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
Merge 33f4fe70bc into 5f01999726
This commit is contained in:
commit
6e02e51710
1 changed files with 2 additions and 0 deletions
2
signal.c
2
signal.c
|
|
@ -63,7 +63,9 @@ void *signal_thread(void *arg)
|
|||
printf("espeakup caught signal %d\n", sig);
|
||||
break;
|
||||
}
|
||||
pthread_mutex_lock(&queue_guard);
|
||||
}
|
||||
pthread_mutex_unlock(&queue_guard);
|
||||
/* Tell the reader to stop, if it is in a select() call. */
|
||||
write(PIPE_WRITE_FD, STOP_MSG, strlen(STOP_MSG));
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue