diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-10-18 12:29:08 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-10-18 12:29:08 +0200 |
commit | e53e43d2b85095ec24e89fb8721d9c92e13ed930 (patch) | |
tree | ed5b2d1614a146e986ad2fee4b8933b52cb160b5 /dvbdevice.c | |
parent | 15816ee8e4a1be96bba1da9199739f1666a87703 (diff) | |
download | vdr-e53e43d2b85095ec24e89fb8721d9c92e13ed930.tar.gz vdr-e53e43d2b85095ec24e89fb8721d9c92e13ed930.tar.bz2 |
The cThread class now accepts a 'Description' parameter
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index fd0a0d0d..aed34931 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.67 2003/10/17 15:36:13 kls Exp $ + * $Id: dvbdevice.c 1.68 2003/10/18 12:20:38 kls Exp $ */ #include "dvbdevice.h" @@ -100,6 +100,7 @@ cDvbTuner::cDvbTuner(int Fd_Frontend, int CardIndex, fe_type_t FrontendType, cCi useCa = false; tunerStatus = tsIdle; startTime = time(NULL); + SetDescription("tuner on device %d", cardIndex + 1); Start(); } @@ -247,7 +248,6 @@ bool cDvbTuner::SetFrontend(void) void cDvbTuner::Action(void) { - dsyslog("tuner thread started on device %d (pid=%d)", cardIndex + 1, getpid()); active = true; while (active) { cMutexLock MutexLock(&mutex); @@ -302,7 +302,6 @@ void cDvbTuner::Action(void) // in the beginning we loop more often to let the CAM connection start up fast newSet.TimedWait(mutex, (ciHandler && (time(NULL) - startTime < 20)) ? 100 : 1000); } - dsyslog("tuner thread ended on device %d (pid=%d)", cardIndex + 1, getpid()); } // --- cDvbDevice ------------------------------------------------------------ |