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:
parent
507645e2d9
commit
4bee8b5345
2
data.c
2
data.c
@ -34,7 +34,7 @@ int logLevel = logFunc | logFuncPerf | logData;
|
|||||||
#define __CLASS__ "cSatipTunerDataThread"
|
#define __CLASS__ "cSatipTunerDataThread"
|
||||||
|
|
||||||
cSatipTunerDataThread::cSatipTunerDataThread(cSatipDeviceIf &deviceP, cSatipTunerStatistics &statisticsP, unsigned int packetLenP)
|
cSatipTunerDataThread::cSatipTunerDataThread(cSatipDeviceIf &deviceP, cSatipTunerStatistics &statisticsP, unsigned int packetLenP)
|
||||||
: cThread("SAT>IP data"),
|
: cThread(cString::sprintf("SAT>IP data %d", deviceP.GetId())),
|
||||||
deviceM(&deviceP),
|
deviceM(&deviceP),
|
||||||
statisticsM(&statisticsP),
|
statisticsM(&statisticsP),
|
||||||
packetBufferLenM(packetLenP),
|
packetBufferLenM(packetLenP),
|
||||||
|
@ -231,7 +231,7 @@ bool cSatipSectionFilter::Send(void)
|
|||||||
|
|
||||||
|
|
||||||
cSatipSectionFilterHandler::cSatipSectionFilterHandler(int deviceIndexP, unsigned int bufferLenP)
|
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))),
|
ringBufferM(new cRingBufferLinear(bufferLenP, TS_SIZE, false, *cString::sprintf("SAT>IP SECTION HANDLER %d", deviceIndexP))),
|
||||||
mutexM(),
|
mutexM(),
|
||||||
deviceIndexM(deviceIndexP)
|
deviceIndexM(deviceIndexP)
|
||||||
|
2
tuner.c
2
tuner.c
@ -11,7 +11,7 @@
|
|||||||
#include "tuner.h"
|
#include "tuner.h"
|
||||||
|
|
||||||
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
|
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
|
||||||
: cThread("SAT>IP tuner"),
|
: cThread(cString::sprintf("SAT>IP tuner %d", deviceP.GetId())),
|
||||||
dataThreadM(deviceP, *this, packetLenP),
|
dataThreadM(deviceP, *this, packetLenP),
|
||||||
sleepM(),
|
sleepM(),
|
||||||
deviceM(&deviceP),
|
deviceM(&deviceP),
|
||||||
|
Loading…
Reference in New Issue
Block a user