mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-09 16:50:28 -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:
@@ -30,6 +30,7 @@ HackRFOutputThread::HackRFOutputThread(hackrf_device* dev, SampleSourceFifo* sam
|
||||
m_log2Interp(0),
|
||||
m_fcPos(2)
|
||||
{
|
||||
setObjectName("HackRFOutput");
|
||||
std::fill(m_buf, m_buf + 2*HACKRF_BLOCKSIZE, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user