1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

thread names now include Device ID (Replay of Subversion #52

This commit is contained in:
nafets227 2014-11-09 21:39:59 +01:00
parent 507645e2d9
commit 4bee8b5345
3 changed files with 3 additions and 3 deletions

2
data.c
View File

@ -34,7 +34,7 @@ int logLevel = logFunc | logFuncPerf | logData;
#define __CLASS__ "cSatipTunerDataThread"
cSatipTunerDataThread::cSatipTunerDataThread(cSatipDeviceIf &deviceP, cSatipTunerStatistics &statisticsP, unsigned int packetLenP)
: cThread("SAT>IP data"),
: cThread(cString::sprintf("SAT>IP data %d", deviceP.GetId())),
deviceM(&deviceP),
statisticsM(&statisticsP),
packetBufferLenM(packetLenP),

View File

@ -231,7 +231,7 @@ bool cSatipSectionFilter::Send(void)
cSatipSectionFilterHandler::cSatipSectionFilterHandler(int deviceIndexP, unsigned int bufferLenP)
: cThread("SAT>IP section handler"),
: cThread(cString::sprintf("SAT>IP sect %d", deviceIndexP)),
ringBufferM(new cRingBufferLinear(bufferLenP, TS_SIZE, false, *cString::sprintf("SAT>IP SECTION HANDLER %d", deviceIndexP))),
mutexM(),
deviceIndexM(deviceIndexP)

View File

@ -11,7 +11,7 @@
#include "tuner.h"
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
: cThread("SAT>IP tuner"),
: cThread(cString::sprintf("SAT>IP tuner %d", deviceP.GetId())),
dataThreadM(deviceP, *this, packetLenP),
sleepM(),
deviceM(&deviceP),