mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-12 02:03:11 -04:00
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>
This commit is contained in:
@@ -98,6 +98,7 @@ bool TestSourceInput::start()
|
||||
}
|
||||
|
||||
m_testSourceWorkerThread = new QThread();
|
||||
m_testSourceWorkerThread->setObjectName("TestSourceInput");
|
||||
m_testSourceWorker = new TestSourceWorker(&m_sampleFifo);
|
||||
m_testSourceWorker->moveToThread(m_testSourceWorkerThread);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user