Make IOThreads terminate() fully non-blocking and misc.

- Thanks to timed-pop() usage, it is no longer needed to nudge queues with dummy to wake them
- Less bad luck to be stuck there
- Misc: leave the trace about the audio thread staturation, useful despite it raises some alarm among users...
This commit is contained in:
vsonnier
2017-08-14 09:10:24 +02:00
parent acc6d2a31d
commit e32e687fe8
6 changed files with 3 additions and 25 deletions
-3
View File
@@ -476,9 +476,6 @@ void AudioThread::run() {
void AudioThread::terminate() {
IOThread::terminate();
AudioThreadCommand endCond; // push an empty input to bump the queue
//VSO: blocking push
cmdQueue.push(endCond);
}
bool AudioThread::isActive() {