mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-22 15:44:17 +02:00
check for terminalFD after select()
If terminalFD has something to read, we break out of the loop in the softsynth thread.
This commit is contained in:
parent
474580b08b
commit
0fdca827b8
1 changed files with 3 additions and 0 deletions
|
|
@ -156,6 +156,9 @@ void *softsynth_thread(void *arg)
|
|||
break;
|
||||
}
|
||||
|
||||
if (FD_ISSET(terminalFD, &set))
|
||||
break;
|
||||
|
||||
if (!FD_ISSET(softFD, &set))
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue