From 53daaa5b0c42a8df6cf6dbf3ea77cc47e2f95216 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 4 Oct 2017 00:50:42 +0200 Subject: [PATCH] Tentative fix for possible lockup of mutex at DSPDevieSourceEngine thread exit --- debian/changelog | 3 ++- sdrbase/dsp/dspdevicesourceengine.cpp | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index be06903b1..1d9b44c88 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ sdrangel (3.7.3-1) unstable; urgency=medium * For Airspy, Funcube Pro and Pro+, PlutoSDR Rx and Tx, RTLSDR: * Button and dialog to set frequency translation for transverter operation + * GUI and demod separation step 1 partial - -- Edouard Griffiths, F4EXB Sat, 01 Oct 2017 05:14:18 +0200 + -- Edouard Griffiths, F4EXB Wed, 04 Oct 2017 23:14:18 +0200 sdrangel (3.7.2-1) unstable; urgency=medium diff --git a/sdrbase/dsp/dspdevicesourceengine.cpp b/sdrbase/dsp/dspdevicesourceengine.cpp index ca0b8aed0..14c9d2f75 100644 --- a/sdrbase/dsp/dspdevicesourceengine.cpp +++ b/sdrbase/dsp/dspdevicesourceengine.cpp @@ -73,8 +73,11 @@ void DSPDeviceSourceEngine::start() void DSPDeviceSourceEngine::stop() { qDebug() << "DSPDeviceSourceEngine::stop"; - DSPExit cmd; - m_syncMessenger.sendWait(cmd); + gotoIdle(); + m_state = StNotStarted; + QThread::exit(); +// DSPExit cmd; +// m_syncMessenger.sendWait(cmd); } bool DSPDeviceSourceEngine::initAcquisition()