Browse Source

repo wide : Name SDRangel-owned threads for debugging

Assign descriptive names to SDRangel threads so thread activity can be
identified when investigating multi-threaded behavior, including crashes,
leaks, and synchronization issues in debuggers and others tools.

Use compact names to fit platform thread-name limits (14 chars) while
retaining the component and thread role where possible.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
953391c171
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 1
      httpserver/httpconnectionhandler.cpp
  2. 1
      plugins/channelmimo/beamsteeringcwmod/beamsteeringcwmod.cpp
  3. 1
      plugins/channelmimo/doa2/doa2.cpp
  4. 1
      plugins/channelmimo/interferometer/interferometer.cpp
  5. 2
      plugins/channelrx/chanalyzer/chanalyzer.cpp
  6. 1
      plugins/channelrx/channelpower/channelpower.cpp
  7. 1
      plugins/channelrx/demodadsb/adsbdemod.cpp
  8. 1
      plugins/channelrx/demodadsb/adsbdemodsinkworker.h
  9. 1
      plugins/channelrx/demodais/aisdemod.cpp
  10. 1
      plugins/channelrx/demodam/amdemod.cpp
  11. 2
      plugins/channelrx/demodapt/aptdemod.cpp
  12. 1
      plugins/channelrx/demodatv/atvdemod.cpp
  13. 1
      plugins/channelrx/demodbfm/bfmdemod.cpp
  14. 2
      plugins/channelrx/demodchirpchat/chirpchatdemod.cpp
  15. 1
      plugins/channelrx/demoddab/dabdemod.cpp
  16. 2
      plugins/channelrx/demoddatv/datvideorender.h
  17. 1
      plugins/channelrx/demoddsc/dscdemod.cpp
  18. 1
      plugins/channelrx/demoddsd/dsddemod.cpp
  19. 1
      plugins/channelrx/demodendoftrain/endoftraindemod.cpp
  20. 1
      plugins/channelrx/demodfreedv/freedvdemod.cpp
  21. 1
      plugins/channelrx/demodft8/ft8demod.cpp
  22. 2
      plugins/channelrx/demodft8/ft8demodbaseband.cpp
  23. 1
      plugins/channelrx/demodils/ilsdemod.cpp
  24. 1
      plugins/channelrx/demodinmarsat/inmarsatdemod.cpp
  25. 1
      plugins/channelrx/demodm17/m17demod.cpp
  26. 4
      plugins/channelrx/demodmeshcore/meshcoredemod.cpp
  27. 4
      plugins/channelrx/demodmeshtastic/meshtasticdemod.cpp
  28. 1
      plugins/channelrx/demodnavtex/navtexdemod.cpp
  29. 1
      plugins/channelrx/demodnfm/nfmdemod.cpp
  30. 1
      plugins/channelrx/demodpacket/packetdemod.cpp
  31. 1
      plugins/channelrx/demodpager/pagerdemod.cpp
  32. 1
      plugins/channelrx/demodradiosonde/radiosondedemod.cpp
  33. 1
      plugins/channelrx/demodrtty/rttydemod.cpp
  34. 1
      plugins/channelrx/demodssb/ssbdemod.cpp
  35. 1
      plugins/channelrx/demodvor/vordemod.cpp
  36. 1
      plugins/channelrx/demodvormc/vordemodmc.cpp
  37. 1
      plugins/channelrx/demodwfm/wfmdemod.cpp
  38. 1
      plugins/channelrx/filesink/filesink.cpp
  39. 1
      plugins/channelrx/freqscanner/freqscanner.cpp
  40. 1
      plugins/channelrx/freqtracker/freqtracker.cpp
  41. 1
      plugins/channelrx/heatmap/heatmap.cpp
  42. 1
      plugins/channelrx/localsink/localsink.cpp
  43. 1
      plugins/channelrx/localsink/localsinksink.cpp
  44. 1
      plugins/channelrx/noisefigure/noisefigure.cpp
  45. 2
      plugins/channelrx/radioastronomy/radioastronomy.cpp
  46. 1
      plugins/channelrx/radioclock/radioclock.cpp
  47. 1
      plugins/channelrx/remotesink/remotesink.cpp
  48. 1
      plugins/channelrx/remotesink/remotesinksink.cpp
  49. 1
      plugins/channelrx/remotetcpsink/remotetcpsink.cpp
  50. 1
      plugins/channelrx/sigmffilesink/sigmffilesink.cpp
  51. 1
      plugins/channelrx/udpsink/udpsink.cpp
  52. 1
      plugins/channelrx/wdsprx/wdsprx.cpp
  53. 1
      plugins/channeltx/filesource/filesource.cpp
  54. 1
      plugins/channeltx/localsource/localsource.cpp
  55. 4
      plugins/channeltx/localsource/localsourcesource.cpp
  56. 1
      plugins/channeltx/mod802.15.4/ieee_802_15_4_mod.cpp
  57. 1
      plugins/channeltx/modais/aismod.cpp
  58. 1
      plugins/channeltx/modam/ammod.cpp
  59. 1
      plugins/channeltx/modatv/atvmod.cpp
  60. 1
      plugins/channeltx/modchirpchat/chirpchatmod.cpp
  61. 1
      plugins/channeltx/moddatv/datvmod.cpp
  62. 1
      plugins/channeltx/modfreedv/freedvmod.cpp
  63. 1
      plugins/channeltx/modm17/m17mod.cpp
  64. 1
      plugins/channeltx/modm17/m17modsource.cpp
  65. 1
      plugins/channeltx/modmeshcore/meshcoremod.cpp
  66. 1
      plugins/channeltx/modmeshtastic/meshtasticmod.cpp
  67. 1
      plugins/channeltx/modnfm/nfmmod.cpp
  68. 1
      plugins/channeltx/modpacket/packetmod.cpp
  69. 1
      plugins/channeltx/modpsk31/psk31mod.cpp
  70. 1
      plugins/channeltx/modrtty/rttymod.cpp
  71. 1
      plugins/channeltx/modssb/ssbmod.cpp
  72. 1
      plugins/channeltx/modwfm/wfmmod.cpp
  73. 1
      plugins/channeltx/remotesource/remotesource.cpp
  74. 1
      plugins/channeltx/remotesource/remotesourcesource.cpp
  75. 1
      plugins/channeltx/udpsource/udpsource.cpp
  76. 1
      plugins/feature/afc/afc.cpp
  77. 1
      plugins/feature/ambe/ambeengine.cpp
  78. 1
      plugins/feature/aprs/aprs.cpp
  79. 1
      plugins/feature/demodanalyzer/demodanalyzer.cpp
  80. 1
      plugins/feature/denoiser/denoiser.cpp
  81. 1
      plugins/feature/gs232controller/gs232controller.cpp
  82. 1
      plugins/feature/morsedecoder/morsedecoder.cpp
  83. 1
      plugins/feature/pertester/pertester.cpp
  84. 1
      plugins/feature/remotecontrol/remotecontrol.cpp
  85. 1
      plugins/feature/rigctlserver/rigctlserver.cpp
  86. 1
      plugins/feature/satellitetracker/satellitetracker.cpp
  87. 1
      plugins/feature/sid/sid.cpp
  88. 1
      plugins/feature/simpleptt/simpleptt.cpp
  89. 1
      plugins/feature/startracker/startracker.cpp
  90. 1
      plugins/feature/vorlocalizer/vorlocalizer.cpp
  91. 3
      plugins/samplemimo/audiocatsiso/audiocatsiso.cpp
  92. 1
      plugins/samplemimo/bladerf2mimo/bladerf2mithread.cpp
  93. 1
      plugins/samplemimo/bladerf2mimo/bladerf2mothread.cpp
  94. 1
      plugins/samplemimo/limesdrmimo/limesdrmithread.cpp
  95. 1
      plugins/samplemimo/plutosdrmimo/plutosdrmithread.cpp
  96. 1
      plugins/samplemimo/plutosdrmimo/plutosdrmothread.cpp
  97. 2
      plugins/samplemimo/testmi/testmi.cpp
  98. 1
      plugins/samplemimo/testmosync/testmosync.cpp
  99. 1
      plugins/samplemimo/xtrxmimo/xtrxmithread.cpp
  100. 1
      plugins/samplemimo/xtrxmimo/xtrxmothread.cpp
  101. Some files were not shown because too many files have changed in this diff Show More

1
httpserver/httpconnectionhandler.cpp

@ -13,6 +13,7 @@ HttpConnectionHandler::HttpConnectionHandler(QSettings* settings, HttpRequestHan @@ -13,6 +13,7 @@ HttpConnectionHandler::HttpConnectionHandler(QSettings* settings, HttpRequestHan
{
Q_ASSERT(settings != 0);
Q_ASSERT(requestHandler != 0);
setObjectName("httpCnnctnHndlr");
this->settings = settings;
this->listenerSettings = 0;
this->requestHandler = requestHandler;

1
plugins/channelmimo/beamsteeringcwmod/beamsteeringcwmod.cpp

@ -102,6 +102,7 @@ void BeamSteeringCWMod::startSources() @@ -102,6 +102,7 @@ void BeamSteeringCWMod::startSources()
qDebug("BeamSteeringCWMod::startSources");
m_thread = new QThread(this);
m_thread->setObjectName("BeamSteerCWMod");
m_basebandSource = new BeamSteeringCWModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channelmimo/doa2/doa2.cpp

@ -105,6 +105,7 @@ void DOA2::startSinks() @@ -105,6 +105,7 @@ void DOA2::startSinks()
qDebug("DOA2::startSinks");
m_thread = new QThread(this);
m_thread->setObjectName("DOA2");
m_basebandSink = new DOA2Baseband(m_fftSize);
m_basebandSink->setScopeSink(&m_scopeSink);
m_basebandSink->moveToThread(m_thread);

1
plugins/channelmimo/interferometer/interferometer.cpp

@ -124,6 +124,7 @@ void Interferometer::startSinks() @@ -124,6 +124,7 @@ void Interferometer::startSinks()
qDebug("Interferometer::startSinks");
m_thread = new QThread(this);
m_thread->setObjectName("Interferometer");
m_basebandSink = new InterferometerBaseband(m_fftSize);
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->setScopeSink(&m_scopeSink);

2
plugins/channelrx/chanalyzer/chanalyzer.cpp

@ -53,6 +53,8 @@ ChannelAnalyzer::ChannelAnalyzer(DeviceAPI *deviceAPI) : @@ -53,6 +53,8 @@ ChannelAnalyzer::ChannelAnalyzer(DeviceAPI *deviceAPI) :
{
qDebug("ChannelAnalyzer::ChannelAnalyzer");
setObjectName(m_channelId);
m_thread.setObjectName("Channelyzer");
getChannelSampleRate();
m_basebandSink = new ChannelAnalyzerBaseband();
m_basebandSink->moveToThread(&m_thread);

1
plugins/channelrx/channelpower/channelpower.cpp

@ -49,6 +49,7 @@ ChannelPower::ChannelPower(DeviceAPI *deviceAPI) : @@ -49,6 +49,7 @@ ChannelPower::ChannelPower(DeviceAPI *deviceAPI) :
m_centerFrequency(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("ChannelPower");
m_basebandSink = new ChannelPowerBaseband();
m_basebandSink->setChannel(this);

1
plugins/channelrx/demodadsb/adsbdemod.cpp

@ -64,6 +64,7 @@ ADSBDemod::ADSBDemod(DeviceAPI *devieAPI) : @@ -64,6 +64,7 @@ ADSBDemod::ADSBDemod(DeviceAPI *devieAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("ADSBDemodBB");
m_basebandSink = new ADSBDemodBaseband();
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/demodadsb/adsbdemodsinkworker.h

@ -66,6 +66,7 @@ public: @@ -66,6 +66,7 @@ public:
m_correlationThresholdLinear(0.02f),
m_crc()
{
setObjectName("ADSBDemodWork");
}
void run() override;
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; }

1
plugins/channelrx/demodais/aisdemod.cpp

@ -51,6 +51,7 @@ AISDemod::AISDemod(DeviceAPI *deviceAPI) : @@ -51,6 +51,7 @@ AISDemod::AISDemod(DeviceAPI *deviceAPI) :
m_centerFrequency(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("AISDemod");
m_basebandSink = new AISDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodam/amdemod.cpp

@ -127,6 +127,7 @@ void AMDemod::start() @@ -127,6 +127,7 @@ void AMDemod::start()
qDebug("AMDemod::start");
m_thread = new QThread();
m_thread->setObjectName("AMDemod");
m_basebandSink = new AMDemodBaseband();
m_basebandSink->setChannel(this);
m_basebandSink->moveToThread(m_thread);

2
plugins/channelrx/demodapt/aptdemod.cpp

@ -54,6 +54,8 @@ APTDemod::APTDemod(DeviceAPI *deviceAPI) : @@ -54,6 +54,8 @@ APTDemod::APTDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_imageThread.setObjectName("APTDemodImage");
m_thread.setObjectName("APTDemodBB");
m_basebandSink = new APTDemodBaseband();
m_basebandSink->moveToThread(&m_thread);

1
plugins/channelrx/demodatv/atvdemod.cpp

@ -41,6 +41,7 @@ ATVDemod::ATVDemod(DeviceAPI *deviceAPI) : @@ -41,6 +41,7 @@ ATVDemod::ATVDemod(DeviceAPI *deviceAPI) :
{
qDebug("ATVDemod::ATVDemod");
setObjectName(m_channelId);
m_thread.setObjectName("ATVDemodBB");
m_basebandSink = new ATVDemodBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")

1
plugins/channelrx/demodbfm/bfmdemod.cpp

@ -126,6 +126,7 @@ void BFMDemod::start() @@ -126,6 +126,7 @@ void BFMDemod::start()
qDebug() << "BFMDemod::start";
m_thread = new QThread();
m_thread->setObjectName("BFMDemod");
m_basebandSink = new BFMDemodBaseband();
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->setChannel(this);

2
plugins/channelrx/demodchirpchat/chirpchatdemod.cpp

@ -136,6 +136,7 @@ void ChirpChatDemod::start() @@ -136,6 +136,7 @@ void ChirpChatDemod::start()
qDebug() << "ChirpChatDemod::start";
m_decoderThread = new QThread(this);
m_decoderThread->setObjectName("CCDemod:decode");
m_decoder = new ChirpChatDemodDecoder();
m_decoder->setOutputMessageQueue(getInputMessageQueue());
m_decoder->setNbSymbolBits(m_settings.m_spreadFactor, m_settings.m_deBits);
@ -151,6 +152,7 @@ void ChirpChatDemod::start() @@ -151,6 +152,7 @@ void ChirpChatDemod::start()
m_decoderThread->start();
m_thread = new QThread(this);
m_thread->setObjectName("CCDemod:bb");
m_basebandSink = new ChirpChatDemodBaseband();
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->setDecoderMessageQueue(m_decoder->getInputMessageQueue());

1
plugins/channelrx/demoddab/dabdemod.cpp

@ -79,6 +79,7 @@ DABDemod::DABDemod(DeviceAPI *deviceAPI) : @@ -79,6 +79,7 @@ DABDemod::DABDemod(DeviceAPI *deviceAPI) :
m_reportTII(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("DABDemodBB");
m_basebandSink = new DABDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

2
plugins/channelrx/demoddatv/datvideorender.h

@ -187,6 +187,7 @@ class DATVideoRenderThread : public QThread @@ -187,6 +187,7 @@ class DATVideoRenderThread : public QThread
public:
DATVideoRenderThread()
{
setObjectName("DATVideoRender");
m_renderer = nullptr;
m_stream = nullptr;
m_renderingVideo = false;
@ -194,6 +195,7 @@ class DATVideoRenderThread : public QThread @@ -194,6 +195,7 @@ class DATVideoRenderThread : public QThread
DATVideoRenderThread(DATVideoRender *renderer, DATVideostream *stream)
{
setObjectName("DATVideoRender");
m_renderer = renderer;
m_stream = stream;
m_renderingVideo = false;

1
plugins/channelrx/demoddsc/dscdemod.cpp

@ -52,6 +52,7 @@ DSCDemod::DSCDemod(DeviceAPI *deviceAPI) : @@ -52,6 +52,7 @@ DSCDemod::DSCDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("DSCDemodBB");
m_basebandSink = new DSCDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demoddsd/dsddemod.cpp

@ -155,6 +155,7 @@ void DSDDemod::start() @@ -155,6 +155,7 @@ void DSDDemod::start()
qDebug() << "DSDDemod::start";
m_thread = new QThread();
m_thread->setObjectName("DSDDemod");
m_basebandSink = new DSDDemodBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/demodendoftrain/endoftraindemod.cpp

@ -47,6 +47,7 @@ EndOfTrainDemod::EndOfTrainDemod(DeviceAPI *deviceAPI) : @@ -47,6 +47,7 @@ EndOfTrainDemod::EndOfTrainDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("EndOfTrainBB");
m_basebandSink = new EndOfTrainDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodfreedv/freedvdemod.cpp

@ -55,6 +55,7 @@ FreeDVDemod::FreeDVDemod(DeviceAPI *deviceAPI) : @@ -55,6 +55,7 @@ FreeDVDemod::FreeDVDemod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("FreeDVDemod");
m_basebandSink = new FreeDVDemodBaseband();
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/demodft8/ft8demod.cpp

@ -157,6 +157,7 @@ void FT8Demod::start() @@ -157,6 +157,7 @@ void FT8Demod::start()
qDebug() << "FT8Demod::start";
m_thread = new QThread();
m_thread->setObjectName("FT8Demod");
m_basebandSink = new FT8DemodBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

2
plugins/channelrx/demodft8/ft8demodbaseband.cpp

@ -42,6 +42,7 @@ FT8DemodBaseband::FT8DemodBaseband() : @@ -42,6 +42,7 @@ FT8DemodBaseband::FT8DemodBaseband() :
m_ft8WorkerBuffer = new int16_t[FT8DemodSettings::m_ft8SampleRate*15];
m_workerThread = new QThread();
m_workerThread->setObjectName("FT8DemodBB:W");
m_ft8DemodWorker = new FT8DemodWorker();
m_ft8DemodWorker->moveToThread(m_workerThread);
@ -63,6 +64,7 @@ FT8DemodBaseband::FT8DemodBaseband() : @@ -63,6 +64,7 @@ FT8DemodBaseband::FT8DemodBaseband() :
m_workerThread->start();
m_pskReporterThread = new QThread();
m_pskReporterThread->setObjectName("pskReporter");
m_pskReporterWorker = new PskReporterWorker();
m_ft8DemodWorker->setPSKReportingMessageQueue(m_pskReporterWorker->getInputMessageQueue());
m_pskReporterWorker->moveToThread(m_pskReporterThread);

1
plugins/channelrx/demodils/ilsdemod.cpp

@ -60,6 +60,7 @@ ILSDemod::ILSDemod(DeviceAPI *deviceAPI) : @@ -60,6 +60,7 @@ ILSDemod::ILSDemod(DeviceAPI *deviceAPI) :
m_angle(NAN)
{
setObjectName(m_channelId);
m_thread.setObjectName("ILSDemodBB");
m_basebandSink = new ILSDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodinmarsat/inmarsatdemod.cpp

@ -47,6 +47,7 @@ InmarsatDemod::InmarsatDemod(DeviceAPI *deviceAPI) : @@ -47,6 +47,7 @@ InmarsatDemod::InmarsatDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("InmarsatBB");
m_basebandSink = new InmarsatDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodm17/m17demod.cpp

@ -133,6 +133,7 @@ void M17Demod::start() @@ -133,6 +133,7 @@ void M17Demod::start()
qDebug() << "M17Demod::start";
m_thread = new QThread(this);
m_thread->setObjectName("M17Demod");
m_basebandSink = new M17DemodBaseband();
m_basebandSink->setChannel(this);
m_basebandSink->setDemodInputMessageQueue(&m_inputMessageQueue);

4
plugins/channelrx/demodmeshcore/meshcoredemod.cpp

@ -296,6 +296,7 @@ void MeshcoreDemod::startPipelines(const std::vector<PipelineConfig>& configs) @@ -296,6 +296,7 @@ void MeshcoreDemod::startPipelines(const std::vector<PipelineConfig>& configs)
runtime.settings = config.settings;
runtime.decoderThread = new QThread();
runtime.decoderThread->setObjectName(QString("MCDemod:dc:%1").arg(runtime.id));
runtime.decoder = new MeshcoreDemodDecoder();
runtime.decoder->setOutputMessageQueue(getInputMessageQueue());
runtime.decoder->setPipelineMetadata(runtime.id, runtime.name, runtime.presetName);
@ -305,6 +306,7 @@ void MeshcoreDemod::startPipelines(const std::vector<PipelineConfig>& configs) @@ -305,6 +306,7 @@ void MeshcoreDemod::startPipelines(const std::vector<PipelineConfig>& configs)
runtime.decoderThread->start();
runtime.basebandThread = new QThread();
runtime.basebandThread->setObjectName(QString("MCDemod:bb:%1").arg(runtime.id));
runtime.basebandSink = new MeshcoreDemodBaseband();
if (config.id == 0) {
@ -464,6 +466,7 @@ void MeshcoreDemod::applyExtraPipelineSettings(const QVector<MeshcoreDemodSettin @@ -464,6 +466,7 @@ void MeshcoreDemod::applyExtraPipelineSettings(const QVector<MeshcoreDemodSettin
runtime.settings = config.settings;
runtime.decoderThread = new QThread();
runtime.decoderThread->setObjectName(QString("MCDemod:dc:%1").arg(runtime.id));
runtime.decoder = new MeshcoreDemodDecoder();
runtime.decoder->setOutputMessageQueue(getInputMessageQueue());
runtime.decoder->setPipelineMetadata(runtime.id, runtime.name, runtime.presetName);
@ -472,6 +475,7 @@ void MeshcoreDemod::applyExtraPipelineSettings(const QVector<MeshcoreDemodSettin @@ -472,6 +475,7 @@ void MeshcoreDemod::applyExtraPipelineSettings(const QVector<MeshcoreDemodSettin
runtime.decoderThread->start();
runtime.basebandThread = new QThread();
runtime.basebandThread->setObjectName(QString("MCDemod:bb:%1").arg(runtime.id));
runtime.basebandSink = new MeshcoreDemodBaseband();
// Secondary pipelines (id != 0) do not own the spectrum visualiser.
runtime.basebandSink->setDecoderMessageQueue(runtime.decoder->getInputMessageQueue());

4
plugins/channelrx/demodmeshtastic/meshtasticdemod.cpp

@ -295,6 +295,7 @@ void MeshtasticDemod::startPipelines(const std::vector<PipelineConfig>& configs) @@ -295,6 +295,7 @@ void MeshtasticDemod::startPipelines(const std::vector<PipelineConfig>& configs)
runtime.settings = config.settings;
runtime.decoderThread = new QThread();
runtime.decoderThread->setObjectName(QString("Mesh:dc:%1").arg(config.id));
runtime.decoder = new MeshtasticDemodDecoder();
runtime.decoder->setOutputMessageQueue(getInputMessageQueue());
runtime.decoder->setPipelineMetadata(runtime.id, runtime.name, runtime.presetName);
@ -304,6 +305,7 @@ void MeshtasticDemod::startPipelines(const std::vector<PipelineConfig>& configs) @@ -304,6 +305,7 @@ void MeshtasticDemod::startPipelines(const std::vector<PipelineConfig>& configs)
runtime.decoderThread->start();
runtime.basebandThread = new QThread();
runtime.basebandThread->setObjectName(QString("Mesh:bb:%1").arg(config.id));
runtime.basebandSink = new MeshtasticDemodBaseband();
if (config.id == 0) {
@ -463,6 +465,7 @@ void MeshtasticDemod::applyExtraPipelineSettings(const QVector<MeshtasticDemodSe @@ -463,6 +465,7 @@ void MeshtasticDemod::applyExtraPipelineSettings(const QVector<MeshtasticDemodSe
runtime.settings = config.settings;
runtime.decoderThread = new QThread();
runtime.decoderThread->setObjectName(QString("Mesh:dc:%1").arg(config.id));
runtime.decoder = new MeshtasticDemodDecoder();
runtime.decoder->setOutputMessageQueue(getInputMessageQueue());
runtime.decoder->setPipelineMetadata(runtime.id, runtime.name, runtime.presetName);
@ -471,6 +474,7 @@ void MeshtasticDemod::applyExtraPipelineSettings(const QVector<MeshtasticDemodSe @@ -471,6 +474,7 @@ void MeshtasticDemod::applyExtraPipelineSettings(const QVector<MeshtasticDemodSe
runtime.decoderThread->start();
runtime.basebandThread = new QThread();
runtime.basebandThread->setObjectName(QString("Mesh:bb:%1").arg(config.id));
runtime.basebandSink = new MeshtasticDemodBaseband();
// Secondary pipelines (id != 0) do not own the spectrum visualiser.
runtime.basebandSink->setDecoderMessageQueue(runtime.decoder->getInputMessageQueue());

1
plugins/channelrx/demodnavtex/navtexdemod.cpp

@ -52,6 +52,7 @@ NavtexDemod::NavtexDemod(DeviceAPI *deviceAPI) : @@ -52,6 +52,7 @@ NavtexDemod::NavtexDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("NavtexDemodBB");
m_basebandSink = new NavtexDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodnfm/nfmdemod.cpp

@ -129,6 +129,7 @@ void NFMDemod::start() @@ -129,6 +129,7 @@ void NFMDemod::start()
qDebug() << "NFMDemod::start";
m_thread = new QThread();
m_thread->setObjectName("NFMDemod");
m_basebandSink = new NFMDemodBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/demodpacket/packetdemod.cpp

@ -51,6 +51,7 @@ PacketDemod::PacketDemod(DeviceAPI *deviceAPI) : @@ -51,6 +51,7 @@ PacketDemod::PacketDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("PacketDemodBB");
m_basebandSink = new PacketDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodpager/pagerdemod.cpp

@ -47,6 +47,7 @@ PagerDemod::PagerDemod(DeviceAPI *deviceAPI) : @@ -47,6 +47,7 @@ PagerDemod::PagerDemod(DeviceAPI *deviceAPI) :
m_centerFrequency(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("PagerDemodBB");
m_basebandSink = new PagerDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodradiosonde/radiosondedemod.cpp

@ -49,6 +49,7 @@ RadiosondeDemod::RadiosondeDemod(DeviceAPI *deviceAPI) : @@ -49,6 +49,7 @@ RadiosondeDemod::RadiosondeDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("RadiosondeDeBB");
m_basebandSink = new RadiosondeDemodBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodrtty/rttydemod.cpp

@ -52,6 +52,7 @@ RttyDemod::RttyDemod(DeviceAPI *deviceAPI) : @@ -52,6 +52,7 @@ RttyDemod::RttyDemod(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("RttyDemodBB");
m_basebandSink = new RttyDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/demodssb/ssbdemod.cpp

@ -143,6 +143,7 @@ void SSBDemod::start() @@ -143,6 +143,7 @@ void SSBDemod::start()
qDebug() << "SSBDemod::start";
m_thread = new QThread();
m_thread->setObjectName("SSBDemod");
m_basebandSink = new SSBDemodBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/demodvor/vordemod.cpp

@ -133,6 +133,7 @@ void VORDemod::start() @@ -133,6 +133,7 @@ void VORDemod::start()
qDebug("VORDemod::start");
m_thread = new QThread();
m_thread->setObjectName("VORDemod");
m_basebandSink = new VORDemodBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/demodvormc/vordemodmc.cpp

@ -50,6 +50,7 @@ VORDemodMC::VORDemodMC(DeviceAPI *deviceAPI) : @@ -50,6 +50,7 @@ VORDemodMC::VORDemodMC(DeviceAPI *deviceAPI) :
m_basebandSampleRate(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("VORDemodMCBB");
m_basebandSink = new VORDemodMCBaseband();
m_basebandSink->moveToThread(&m_thread);

1
plugins/channelrx/demodwfm/wfmdemod.cpp

@ -132,6 +132,7 @@ void WFMDemod::start() @@ -132,6 +132,7 @@ void WFMDemod::start()
qDebug() << "WFMDemod::start";
m_thread = new QThread(this);
m_thread->setObjectName("WFMDemod");
m_basebandSink = new WFMDemodBaseband();
m_basebandSink->setChannel(this);
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/filesink/filesink.cpp

@ -145,6 +145,7 @@ void FileSink::start() @@ -145,6 +145,7 @@ void FileSink::start()
qDebug("FileSink::start");
m_thread = new QThread();
m_thread->setObjectName("FileSink");
m_basebandSink = new FileSinkBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/freqscanner/freqscanner.cpp

@ -154,6 +154,7 @@ void FreqScanner::start() @@ -154,6 +154,7 @@ void FreqScanner::start()
qDebug("FreqScanner::start");
m_thread = new QThread();
m_thread->setObjectName("FreqScanner");
m_basebandSink = new FreqScannerBaseband(this);
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/freqtracker/freqtracker.cpp

@ -130,6 +130,7 @@ void FreqTracker::start() @@ -130,6 +130,7 @@ void FreqTracker::start()
qDebug("FreqTracker::start");
m_thread = new QThread(this);
m_thread->setObjectName("FreqTracker");
m_basebandSink = new FreqTrackerBaseband();
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->setMessageQueueToInput(getInputMessageQueue());

1
plugins/channelrx/heatmap/heatmap.cpp

@ -48,6 +48,7 @@ HeatMap::HeatMap(DeviceAPI *deviceAPI) : @@ -48,6 +48,7 @@ HeatMap::HeatMap(DeviceAPI *deviceAPI) :
m_centerFrequency(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("HeatMapBB");
m_basebandSink = new HeatMapBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/localsink/localsink.cpp

@ -148,6 +148,7 @@ void LocalSink::startProcessing() @@ -148,6 +148,7 @@ void LocalSink::startProcessing()
qDebug("LocalSink::startProcessing");
m_thread = new QThread(this);
m_thread->setObjectName("LocalSink");
m_basebandSink = new LocalSinkBaseband();
m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/localsink/localsinksink.cpp

@ -38,6 +38,7 @@ LocalSinkSink::LocalSinkSink() : @@ -38,6 +38,7 @@ LocalSinkSink::LocalSinkSink() :
m_sampleRate(48000),
m_deviceSampleRate(48000)
{
m_sinkWorkerThread.setObjectName("LocalSinkSinkWr");
m_sampleFifo.setSize(SampleSinkFifo::getSizePolicy(4000000));
// m_fftFilter = new fftfilt(0.1f, 0.4f, 1<<m_settings.m_log2FFT);
m_fftFilter = new fftfilt(1<<m_settings.m_log2FFT);

1
plugins/channelrx/noisefigure/noisefigure.cpp

@ -70,6 +70,7 @@ NoiseFigure::NoiseFigure(DeviceAPI *deviceAPI) : @@ -70,6 +70,7 @@ NoiseFigure::NoiseFigure(DeviceAPI *deviceAPI) :
m_session(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("NoiseFigureBB");
m_basebandSink = new NoiseFigureBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

2
plugins/channelrx/radioastronomy/radioastronomy.cpp

@ -74,6 +74,8 @@ RadioAstronomy::RadioAstronomy(DeviceAPI *deviceAPI) : @@ -74,6 +74,8 @@ RadioAstronomy::RadioAstronomy(DeviceAPI *deviceAPI) :
{
qDebug("RadioAstronomy::RadioAstronomy");
setObjectName(m_channelId);
m_thread.setObjectName("RadioAstroBB");
m_workerThread.setObjectName("RadioAstroWk");
m_basebandSink = new RadioAstronomyBaseband(this);
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/radioclock/radioclock.cpp

@ -51,6 +51,7 @@ RadioClock::RadioClock(DeviceAPI *deviceAPI) : @@ -51,6 +51,7 @@ RadioClock::RadioClock(DeviceAPI *deviceAPI) :
m_centerFrequency(0)
{
setObjectName(m_channelId);
m_thread.setObjectName("RadioClockBB");
m_basebandSink = new RadioClockBaseband();
m_basebandSink->setMessageQueueToChannel(getInputMessageQueue());

1
plugins/channelrx/remotesink/remotesink.cpp

@ -130,6 +130,7 @@ void RemoteSink::start() @@ -130,6 +130,7 @@ void RemoteSink::start()
qDebug("RemoteSink::start: m_basebandSampleRate: %d", m_basebandSampleRate);
m_thread = new QThread();
m_thread->setObjectName("RemoteSink");
m_basebandSink = new RemoteSinkBaseband();
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/remotesink/remotesinksink.cpp

@ -44,6 +44,7 @@ RemoteSinkSink::RemoteSinkSink() : @@ -44,6 +44,7 @@ RemoteSinkSink::RemoteSinkSink() :
m_dataPort(9090)
{
qDebug("RemoteSinkSink::RemoteSinkSink");
m_senderThread.setObjectName("RmtSnkSnkSnd");
applySettings(QStringList(), m_settings, true);
}

1
plugins/channelrx/remotetcpsink/remotetcpsink.cpp

@ -59,6 +59,7 @@ RemoteTCPSink::RemoteTCPSink(DeviceAPI *deviceAPI) : @@ -59,6 +59,7 @@ RemoteTCPSink::RemoteTCPSink(DeviceAPI *deviceAPI) :
m_removeRequest(nullptr)
{
setObjectName(m_channelId);
m_thread.setObjectName("RemoteTCPSinkBB");
m_basebandSink = new RemoteTCPSinkBaseband();
m_basebandSink->setMessageQueueToChannel(&m_inputMessageQueue);

1
plugins/channelrx/sigmffilesink/sigmffilesink.cpp

@ -144,6 +144,7 @@ void SigMFFileSink::start() @@ -144,6 +144,7 @@ void SigMFFileSink::start()
qDebug("SigMFFileSink::start");
m_thread = new QThread();
m_thread->setObjectName("SigMFFileSink");
m_basebandSink = new SigMFFileSinkBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channelrx/udpsink/udpsink.cpp

@ -57,6 +57,7 @@ UDPSink::UDPSink(DeviceAPI *deviceAPI) : @@ -57,6 +57,7 @@ UDPSink::UDPSink(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("UDPSink");
m_basebandSink = new UDPSinkBaseband();
m_basebandSink->setSpectrum(&m_spectrumVis);
m_basebandSink->moveToThread(m_thread);

1
plugins/channelrx/wdsprx/wdsprx.cpp

@ -145,6 +145,7 @@ void WDSPRx::start() @@ -145,6 +145,7 @@ void WDSPRx::start()
qDebug() << "WDSPRx::start";
m_thread = new QThread();
m_thread->setObjectName("WDSPRx");
m_basebandSink = new WDSPRxBaseband();
m_basebandSink->setFifoLabel(QString("%1 [%2:%3]")
.arg(m_channelId)

1
plugins/channeltx/filesource/filesource.cpp

@ -59,6 +59,7 @@ FileSource::FileSource(DeviceAPI *deviceAPI) : @@ -59,6 +59,7 @@ FileSource::FileSource(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("FileSource");
m_basebandSource = new FileSourceBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/localsource/localsource.cpp

@ -53,6 +53,7 @@ LocalSource::LocalSource(DeviceAPI *deviceAPI) : @@ -53,6 +53,7 @@ LocalSource::LocalSource(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("LocalSource");
m_basebandSource = new LocalSourceBaseband();
m_basebandSource->moveToThread(m_thread);

4
plugins/channeltx/localsource/localsourcesource.cpp

@ -26,7 +26,9 @@ LocalSourceSource::LocalSourceSource() : @@ -26,7 +26,9 @@ LocalSourceSource::LocalSourceSource() :
m_chunkSize(0),
m_localSamplesIndex(0),
m_localSamplesIndexOffset(0)
{}
{
m_sinkWorkerThread.setObjectName("LocalSrcSrcWrk");
}
LocalSourceSource::~LocalSourceSource()
{}

1
plugins/channeltx/mod802.15.4/ieee_802_15_4_mod.cpp

@ -60,6 +60,7 @@ IEEE_802_15_4_Mod::IEEE_802_15_4_Mod(DeviceAPI *deviceAPI) : @@ -60,6 +60,7 @@ IEEE_802_15_4_Mod::IEEE_802_15_4_Mod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("802_15_4_Mod");
m_basebandSource = new IEEE_802_15_4_ModBaseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/modais/aismod.cpp

@ -62,6 +62,7 @@ AISMod::AISMod(DeviceAPI *deviceAPI) : @@ -62,6 +62,7 @@ AISMod::AISMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("AISMod");
m_basebandSource = new AISModBaseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modam/ammod.cpp

@ -116,6 +116,7 @@ void AMMod::start() @@ -116,6 +116,7 @@ void AMMod::start()
qDebug("AMMod::start");
m_thread = new QThread(this);
m_thread->setObjectName("AMMod");
m_basebandSource = new AMModBaseband();
m_basebandSource->setInputFileStream(&m_ifstream);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modatv/atvmod.cpp

@ -62,6 +62,7 @@ ATVMod::ATVMod(DeviceAPI *deviceAPI) : @@ -62,6 +62,7 @@ ATVMod::ATVMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("ATVMod");
m_basebandSource = new ATVModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/modchirpchat/chirpchatmod.cpp

@ -61,6 +61,7 @@ ChirpChatMod::ChirpChatMod(DeviceAPI *deviceAPI) : @@ -61,6 +61,7 @@ ChirpChatMod::ChirpChatMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("ChirpChatMod");
m_basebandSource = new ChirpChatModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/moddatv/datvmod.cpp

@ -63,6 +63,7 @@ DATVMod::DATVMod(DeviceAPI *deviceAPI) : @@ -63,6 +63,7 @@ DATVMod::DATVMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("DATVMod");
m_basebandSource = new DATVModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/modfreedv/freedvmod.cpp

@ -63,6 +63,7 @@ FreeDVMod::FreeDVMod(DeviceAPI *deviceAPI) : @@ -63,6 +63,7 @@ FreeDVMod::FreeDVMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("FreeDVMod");
m_basebandSource = new FreeDVModBaseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->setInputFileStream(&m_ifstream);

1
plugins/channeltx/modm17/m17mod.cpp

@ -62,6 +62,7 @@ M17Mod::M17Mod(DeviceAPI *deviceAPI) : @@ -62,6 +62,7 @@ M17Mod::M17Mod(DeviceAPI *deviceAPI) :
m_loopPacketTimer.setInterval(m_settings.m_loopPacketInterval*1000);
m_thread = new QThread(this);
m_thread->setObjectName("M17Mod");
m_basebandSource = new M17ModBaseband();
m_basebandSource->setInputFileStream(&m_ifstream);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modm17/m17modsource.cpp

@ -43,6 +43,7 @@ M17ModSource::M17ModSource() : @@ -43,6 +43,7 @@ M17ModSource::M17ModSource() :
m_preemphasisFilter(m_preemphasis*48000)
{
m_audioFifo.setLabel("M17ModSource.m_audioFifo");
m_processorThread.setObjectName("M17ModSourceWrk");
m_feedbackAudioFifo.setLabel("M17ModSource.m_feedbackAudioFifo");
m_audioBuffer.resize(24000);
m_audioBufferFill = 0;

1
plugins/channeltx/modmeshcore/meshcoremod.cpp

@ -66,6 +66,7 @@ MeshcoreMod::MeshcoreMod(DeviceAPI *deviceAPI) : @@ -66,6 +66,7 @@ MeshcoreMod::MeshcoreMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("MeshcoreMod");
m_basebandSource = new MeshcoreModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/modmeshtastic/meshtasticmod.cpp

@ -64,6 +64,7 @@ MeshtasticMod::MeshtasticMod(DeviceAPI *deviceAPI) : @@ -64,6 +64,7 @@ MeshtasticMod::MeshtasticMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("MeshtasticMod");
m_basebandSource = new MeshtasticModBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/modnfm/nfmmod.cpp

@ -113,6 +113,7 @@ void NFMMod::start() @@ -113,6 +113,7 @@ void NFMMod::start()
qDebug("NFMMod::start");
m_thread = new QThread(this);
m_thread->setObjectName("NFMMod");
m_basebandSource = new NFMModBaseband();
m_basebandSource->setInputFileStream(&m_ifstream);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modpacket/packetmod.cpp

@ -64,6 +64,7 @@ PacketMod::PacketMod(DeviceAPI *deviceAPI) : @@ -64,6 +64,7 @@ PacketMod::PacketMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("PacketMod");
m_basebandSource = new PacketModBaseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modpsk31/psk31mod.cpp

@ -60,6 +60,7 @@ PSK31::PSK31(DeviceAPI *deviceAPI) : @@ -60,6 +60,7 @@ PSK31::PSK31(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("PSK31");
m_basebandSource = new PSK31Baseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modrtty/rttymod.cpp

@ -60,6 +60,7 @@ RttyMod::RttyMod(DeviceAPI *deviceAPI) : @@ -60,6 +60,7 @@ RttyMod::RttyMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("RttyMod");
m_basebandSource = new RttyModBaseband();
m_basebandSource->setSpectrumSampleSink(&m_spectrumVis);
m_basebandSource->setChannel(this);

1
plugins/channeltx/modssb/ssbmod.cpp

@ -65,6 +65,7 @@ SSBMod::SSBMod(DeviceAPI *deviceAPI) : @@ -65,6 +65,7 @@ SSBMod::SSBMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("SSBMod");
m_basebandSource = new SSBModBaseband();
m_basebandSource->setSpectrumSink(&m_spectrumVis);
m_basebandSource->setInputFileStream(&m_ifstream);

1
plugins/channeltx/modwfm/wfmmod.cpp

@ -61,6 +61,7 @@ WFMMod::WFMMod(DeviceAPI *deviceAPI) : @@ -61,6 +61,7 @@ WFMMod::WFMMod(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("WFMMod");
m_basebandSource = new WFMModBaseband();
m_basebandSource->setInputFileStream(&m_ifstream);
m_basebandSource->setChannel(this);

1
plugins/channeltx/remotesource/remotesource.cpp

@ -57,6 +57,7 @@ RemoteSource::RemoteSource(DeviceAPI *deviceAPI) : @@ -57,6 +57,7 @@ RemoteSource::RemoteSource(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("RemoteSource");
m_basebandSource = new RemoteSourceBaseband();
m_basebandSource->moveToThread(m_thread);

1
plugins/channeltx/remotesource/remotesourcesource.cpp

@ -30,6 +30,7 @@ RemoteSourceSource::RemoteSourceSource() : @@ -30,6 +30,7 @@ RemoteSourceSource::RemoteSourceSource() :
m_nbUncorrectableErrors(0),
m_channelSampleRate(48000)
{
m_sourceWorkerThread.setObjectName("RmtSrcSrcWrk");
connect(&m_dataQueue, SIGNAL(dataBlockEnqueued()), this, SLOT(handleData()), Qt::QueuedConnection);
m_cm256p = m_cm256.isInitialized() ? &m_cm256 : 0;
m_currentMeta.init();

1
plugins/channeltx/udpsource/udpsource.cpp

@ -50,6 +50,7 @@ UDPSource::UDPSource(DeviceAPI *deviceAPI) : @@ -50,6 +50,7 @@ UDPSource::UDPSource(DeviceAPI *deviceAPI) :
setObjectName(m_channelId);
m_thread = new QThread(this);
m_thread->setObjectName("UDPSource");
m_basebandSource = new UDPSourceBaseband();
m_basebandSource->setSpectrumSink(&m_spectrumVis);
m_basebandSource->moveToThread(m_thread);

1
plugins/feature/afc/afc.cpp

@ -95,6 +95,7 @@ void AFC::start() @@ -95,6 +95,7 @@ void AFC::start()
qDebug("AFC::start");
m_thread = new QThread();
m_thread->setObjectName("AFC");
m_worker = new AFCWorker(getWebAPIAdapterInterface());
m_worker->moveToThread(m_thread);

1
plugins/feature/ambe/ambeengine.cpp

@ -249,6 +249,7 @@ bool AMBEEngine::registerController(const std::string& deviceRef) @@ -249,6 +249,7 @@ bool AMBEEngine::registerController(const std::string& deviceRef)
m_controllers.push_back(AMBEController());
m_controllers.back().worker = worker;
m_controllers.back().thread = new QThread();
m_controllers.back().thread->setObjectName("AMBE:" + QString::fromStdString(deviceRef));
m_controllers.back().device = deviceRef;
m_controllers.back().worker->moveToThread(m_controllers.back().thread);

1
plugins/feature/aprs/aprs.cpp

@ -97,6 +97,7 @@ void APRS::start() @@ -97,6 +97,7 @@ void APRS::start()
{
qDebug("APRS::start");
m_thread = new QThread();
m_thread->setObjectName("APRS");
m_worker = new APRSWorker(this, m_webAPIAdapterInterface);
m_worker->moveToThread(m_thread);

1
plugins/feature/demodanalyzer/demodanalyzer.cpp

@ -101,6 +101,7 @@ void DemodAnalyzer::start() @@ -101,6 +101,7 @@ void DemodAnalyzer::start()
qDebug("DemodAnalyzer::start");
m_thread = new QThread();
m_thread->setObjectName("DemodAnalyzer");
m_worker = new DemodAnalyzerWorker();
m_worker->moveToThread(m_thread);

1
plugins/feature/denoiser/denoiser.cpp

@ -103,6 +103,7 @@ void Denoiser::start() @@ -103,6 +103,7 @@ void Denoiser::start()
qDebug("Denoiser::start");
m_thread = new QThread();
m_thread->setObjectName("Denoiser");
m_worker = new DenoiserWorker();
m_worker->moveToThread(m_thread);

1
plugins/feature/gs232controller/gs232controller.cpp

@ -120,6 +120,7 @@ void GS232Controller::start() @@ -120,6 +120,7 @@ void GS232Controller::start()
qDebug("GS232Controller::start");
m_thread = new QThread();
m_thread->setObjectName("GS232Controller");
m_worker = new GS232ControllerWorker(this);
m_worker->moveToThread(m_thread);
QObject::connect(m_thread, &QThread::started, m_worker, &GS232ControllerWorker::startWork);

1
plugins/feature/morsedecoder/morsedecoder.cpp

@ -100,6 +100,7 @@ void MorseDecoder::start() @@ -100,6 +100,7 @@ void MorseDecoder::start()
qDebug("MorseDecoder::start");
m_thread = new QThread();
m_thread->setObjectName("MorseDecoder");
m_worker = new MorseDecoderWorker();
m_worker->moveToThread(m_thread);

1
plugins/feature/pertester/pertester.cpp

@ -77,6 +77,7 @@ void PERTester::start() @@ -77,6 +77,7 @@ void PERTester::start()
qDebug("PERTester::start");
m_thread = new QThread();
m_thread->setObjectName("PERTester");
m_worker = new PERTesterWorker();
m_worker->moveToThread(m_thread);

1
plugins/feature/remotecontrol/remotecontrol.cpp

@ -54,6 +54,7 @@ void RemoteControl::start() @@ -54,6 +54,7 @@ void RemoteControl::start()
qDebug() << "RemoteControl::start";
m_thread = new QThread();
m_thread->setObjectName("RemoteControl");
m_worker = new RemoteControlWorker();
m_worker->moveToThread(m_thread);

1
plugins/feature/rigctlserver/rigctlserver.cpp

@ -43,6 +43,7 @@ RigCtlServer::RigCtlServer(WebAPIAdapterInterface *webAPIAdapterInterface) : @@ -43,6 +43,7 @@ RigCtlServer::RigCtlServer(WebAPIAdapterInterface *webAPIAdapterInterface) :
{
qDebug("RigCtlServer::RigCtlServer: webAPIAdapterInterface: %p", webAPIAdapterInterface);
setObjectName(m_featureId);
m_thread.setObjectName("RigCtlServerBB");
m_worker = new RigCtlServerWorker(webAPIAdapterInterface);
m_worker->moveToThread(&m_thread);
setState(StIdle);

1
plugins/feature/satellitetracker/satellitetracker.cpp

@ -90,6 +90,7 @@ void SatelliteTracker::start() @@ -90,6 +90,7 @@ void SatelliteTracker::start()
}
m_thread = new QThread();
m_thread->setObjectName("SatTracker");
m_worker = new SatelliteTrackerWorker(this, m_webAPIAdapterInterface);
m_worker->moveToThread(m_thread);

1
plugins/feature/sid/sid.cpp

@ -71,6 +71,7 @@ void SIDMain::start() @@ -71,6 +71,7 @@ void SIDMain::start()
{
qDebug("SIDMain::start");
m_thread = new QThread();
m_thread->setObjectName("SIDMain");
m_worker = new SIDWorker(this, m_webAPIAdapterInterface);
m_worker->moveToThread(m_thread);
QObject::connect(m_thread, &QThread::started, m_worker, &SIDWorker::startWork);

1
plugins/feature/simpleptt/simpleptt.cpp

@ -81,6 +81,7 @@ void SimplePTT::start() @@ -81,6 +81,7 @@ void SimplePTT::start()
qDebug("SimplePTT::start");
m_thread = new QThread();
m_thread->setObjectName("SimplePTT");
m_worker = new SimplePTTWorker(getWebAPIAdapterInterface());
m_worker->moveToThread(m_thread);

1
plugins/feature/startracker/startracker.cpp

@ -106,6 +106,7 @@ void StarTracker::start() @@ -106,6 +106,7 @@ void StarTracker::start()
qDebug("StarTracker::start");
m_thread = new QThread();
m_thread->setObjectName("StarTracker");
m_worker = new StarTrackerWorker(this, m_webAPIAdapterInterface);
m_worker->moveToThread(m_thread);

1
plugins/feature/vorlocalizer/vorlocalizer.cpp

@ -99,6 +99,7 @@ void VORLocalizer::start() @@ -99,6 +99,7 @@ void VORLocalizer::start()
qDebug("VORLocalizer::start");
m_thread = new QThread();
m_thread->setObjectName("VORLocalizer");
m_worker = new VorLocalizerWorker(getWebAPIAdapterInterface());
m_worker->moveToThread(m_thread);

3
plugins/samplemimo/audiocatsiso/audiocatsiso.cpp

@ -131,6 +131,7 @@ bool AudioCATSISO::startRx() @@ -131,6 +131,7 @@ bool AudioCATSISO::startRx()
audioDeviceManager->addAudioSource(&m_inputFifo, getInputMessageQueue(), m_rxAudioDeviceIndex);
m_inputWorkerThread = new QThread();
m_inputWorkerThread->setObjectName(QString("AudCATrx:%1").arg(m_rxAudioDeviceIndex));
m_inputWorker = new AudioCATInputWorker(&m_sampleMIFifo, &m_inputFifo);
m_inputWorker->moveToThread(m_inputWorkerThread);
@ -147,6 +148,7 @@ bool AudioCATSISO::startRx() @@ -147,6 +148,7 @@ bool AudioCATSISO::startRx()
qDebug() << "AudioCATSISO::startRx: start CAT";
m_catWorkerThread = new QThread();
m_catWorkerThread->setObjectName(QString("AudCATwk:%1").arg(m_rxAudioDeviceIndex));
m_catWorker = new AudioCATSISOCATWorker();
m_catWorker->moveToThread(m_catWorkerThread);
@ -193,6 +195,7 @@ bool AudioCATSISO::startTx() @@ -193,6 +195,7 @@ bool AudioCATSISO::startTx()
audioDeviceManager->addAudioSink(&m_outputFifo, getInputMessageQueue(), m_txAudioDeviceIndex);
m_outputWorkerThread = new QThread();
m_outputWorkerThread->setObjectName(QString("AudCATtx:%1").arg(m_txAudioDeviceIndex));
m_outputWorker = new AudioCATOutputWorker(&m_sampleMOFifo, &m_outputFifo);
m_outputWorker->moveToThread(m_outputWorkerThread);

1
plugins/samplemimo/bladerf2mimo/bladerf2mithread.cpp

@ -31,6 +31,7 @@ BladeRF2MIThread::BladeRF2MIThread(struct bladerf* dev, QObject* parent) : @@ -31,6 +31,7 @@ BladeRF2MIThread::BladeRF2MIThread(struct bladerf* dev, QObject* parent) :
m_fcPos(0),
m_iqOrder(true)
{
setObjectName("BladeRF2MI");
qDebug("BladeRF2MIThread::BladeRF2MIThread");
m_buf = new qint16[2*DeviceBladeRF2::blockSize*2];

1
plugins/samplemimo/bladerf2mimo/bladerf2mothread.cpp

@ -28,6 +28,7 @@ BladeRF2MOThread::BladeRF2MOThread(struct bladerf* dev, QObject* parent) : @@ -28,6 +28,7 @@ BladeRF2MOThread::BladeRF2MOThread(struct bladerf* dev, QObject* parent) :
m_log2Interp(0),
m_fcPos(0)
{
setObjectName("BladeRF2MO");
qDebug("BladeRF2MOThread::BladeRF2MOThread");
m_buf = new qint16[2*DeviceBladeRF2::blockSize*2];
}

1
plugins/samplemimo/limesdrmimo/limesdrmithread.cpp

@ -27,6 +27,7 @@ LimeSDRMIThread::LimeSDRMIThread(lms_stream_t* stream0, lms_stream_t* stream1, Q @@ -27,6 +27,7 @@ LimeSDRMIThread::LimeSDRMIThread(lms_stream_t* stream0, lms_stream_t* stream1, Q
m_sampleFifo(nullptr),
m_iqOrder(true)
{
setObjectName("LimeSDRMI");
qDebug("LimeSDRMIThread::LimeSDRMIThread");
for (unsigned int i = 0; i < 2; i++) {

1
plugins/samplemimo/plutosdrmimo/plutosdrmithread.cpp

@ -29,6 +29,7 @@ PlutoSDRMIThread::PlutoSDRMIThread(DevicePlutoSDRBox* plutoBox, QObject* parent) @@ -29,6 +29,7 @@ PlutoSDRMIThread::PlutoSDRMIThread(DevicePlutoSDRBox* plutoBox, QObject* parent)
m_fcPos(0),
m_iqOrder(true)
{
setObjectName("PlutoSDRMI");
qDebug("PlutoSDRMIThread::PlutoSDRMIThread");
m_buf[0] = new qint16[2*m_plutoSDRBlockSizeSamples];
m_buf[1] = new qint16[2*m_plutoSDRBlockSizeSamples];

1
plugins/samplemimo/plutosdrmimo/plutosdrmothread.cpp

@ -29,6 +29,7 @@ PlutoSDRMOThread::PlutoSDRMOThread(DevicePlutoSDRBox* plutoBox, QObject* parent) @@ -29,6 +29,7 @@ PlutoSDRMOThread::PlutoSDRMOThread(DevicePlutoSDRBox* plutoBox, QObject* parent)
m_log2Interp(0),
m_fcPos(0)
{
setObjectName("PlutoSDRMO");
qDebug("PlutoSDRMOThread::PlutoSDRMOThread");
m_buf[0] = new qint16[2*PlutoSDRMIMOSettings::m_plutoSDRBlockSizeSamples];
m_buf[1] = new qint16[2*PlutoSDRMIMOSettings::m_plutoSDRBlockSizeSamples];

2
plugins/samplemimo/testmi/testmi.cpp

@ -95,11 +95,13 @@ bool TestMI::startRx() @@ -95,11 +95,13 @@ bool TestMI::startRx()
qDebug("TestMI::startRx");
m_testSourceWorkers.push_back(new TestMIWorker(&m_sampleMIFifo, 0));
m_testSourceWorkerThreads.push_back(new QThread());
m_testSourceWorkerThreads.back()->setObjectName("TestMI:0");
m_testSourceWorkers.back()->moveToThread(m_testSourceWorkerThreads.back());
m_testSourceWorkers.back()->setSamplerate(m_settings.m_streams[0].m_sampleRate);
m_testSourceWorkers.push_back(new TestMIWorker(&m_sampleMIFifo, 1));
m_testSourceWorkerThreads.push_back(new QThread());
m_testSourceWorkerThreads.back()->setObjectName("TestMI:1");
m_testSourceWorkers.back()->moveToThread(m_testSourceWorkerThreads.back());
m_testSourceWorkers.back()->setSamplerate(m_settings.m_streams[1].m_sampleRate);

1
plugins/samplemimo/testmosync/testmosync.cpp

@ -74,6 +74,7 @@ bool TestMOSync::startTx() @@ -74,6 +74,7 @@ bool TestMOSync::startTx()
qDebug("TestMOSync::startTx");
m_sinkWorkerThread = new QThread();
m_sinkWorkerThread->setObjectName("TestMOSync");
m_sinkWorker = new TestMOSyncWorker();
m_sinkWorker->moveToThread(m_sinkWorkerThread);

1
plugins/samplemimo/xtrxmimo/xtrxmithread.cpp

@ -30,6 +30,7 @@ XTRXMIThread::XTRXMIThread(struct xtrx_dev *dev, QObject* parent) : @@ -30,6 +30,7 @@ XTRXMIThread::XTRXMIThread(struct xtrx_dev *dev, QObject* parent) :
m_sampleFifo(nullptr),
m_iqOrder(true)
{
setObjectName("XTRXMI");
qDebug("XTRXMIThread::XTRXMIThread");
for (unsigned int i = 0; i < 2; i++) {

1
plugins/samplemimo/xtrxmimo/xtrxmothread.cpp

@ -29,6 +29,7 @@ XTRXMOThread::XTRXMOThread(struct xtrx_dev *dev, QObject* parent) : @@ -29,6 +29,7 @@ XTRXMOThread::XTRXMOThread(struct xtrx_dev *dev, QObject* parent) :
m_dev(dev),
m_sampleFifo(nullptr)
{
setObjectName("XTRXMO");
qDebug("XTRXMOThread::XTRXMOThread");
m_buf = new qint16[2*DeviceXTRX::blockSize*2];
std::fill(m_buf, m_buf + 2*DeviceXTRX::blockSize*2, 0);

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save