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
@@ -235,9 +235,6 @@ void SDRPostThread::run() {
void SDRPostThread::terminate() {
IOThread::terminate();
SDRThreadIQDataPtr dummy(new SDRThreadIQData);
//VSO: blocking push
iqDataInQueue->push(dummy);
}
void SDRPostThread::runSingleCH(SDRThreadIQData *data_in) {