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:
William Hubbs 2009-06-24 21:29:46 -05:00
commit 0fdca827b8

View file

@ -156,6 +156,9 @@ void *softsynth_thread(void *arg)
break;
}
if (FD_ISSET(terminalFD, &set))
break;
if (!FD_ISSET(softFD, &set))
continue;