diff --git a/data.c b/data.c index e64b9d4..abb21b9 100644 --- a/data.c +++ b/data.c @@ -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), diff --git a/sectionfilter.c b/sectionfilter.c index e24a48a..a00ada8 100644 --- a/sectionfilter.c +++ b/sectionfilter.c @@ -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) diff --git a/tuner.c b/tuner.c index 824f78e..71483da 100644 --- a/tuner.c +++ b/tuner.c @@ -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),