mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-08 08:55:07 -04:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user