summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-05-04 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-05-04 18:00:00 +0200
commitaf2a135212088f0cba6bd8f98544b271c2f71bef (patch)
tree2cb92bca5d346a4214f5be25c3388887419585b8 /thread.c
parent0686038af36be65b666bce669957c4d94c13f409 (diff)
downloadvdr-patch-lnbsharing-af2a135212088f0cba6bd8f98544b271c2f71bef.tar.gz
vdr-patch-lnbsharing-af2a135212088f0cba6bd8f98544b271c2f71bef.tar.bz2
Version 1.1.30vdr-1.1.30
- Fixed minimum lifespan of deleted recordings (thanks to Jaakko Hyvätti). - Updated French OSD texts (thanks to Olivier Jacques). - Fixed paging through lists with repeated Left/Right keys. - Fixed setting the PCR-PID in case it is equal to one of the other PIDs (thanks to Oliver Endriss for reporting this one). - Fixed double call to MainMenuAction() of a plugin if invoked via a hotkey (thanks to Kai Moeller for reporting this one). - Fixed handling dedicated keys. - Now turning off live PIDs when replaying. This avoids short spikes from other channels when switching between Transfer Mode channels, and also lets an ongoing replay continue even if a recording is started on the primary device. - The RCU channel display no longer changes when a recording on a different channel starts on the primary device. - Restoring the current channel in case a recording has switched the transponder. If all devices are busy and none of them can provide the current channel, the message "Channel not available!" will be displayed. - Removed the (no longer necessary) 'panic' stuff from cThread. - Added cStatus::OsdItem() to provide the entire list of menu items to a plugin (thanks to Carsten Siebholz). - The red ("Record") and yellow ("Pause") button in the "Main" menu are no longer available when replaying.
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/thread.c b/thread.c
index e52771d..07c8f79 100644
--- a/thread.c
+++ b/thread.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.c 1.23 2002/11/03 11:00:03 kls Exp $
+ * $Id: thread.c 1.24 2003/05/03 14:03:32 kls Exp $
*/
#include "thread.h"
@@ -114,8 +114,6 @@ void cMutex::Unlock(void)
// The signal handler is necessary to be able to use SIGIO to wake up any
// pending 'select()' call.
-time_t cThread::lastPanic = 0;
-int cThread::panicLevel = 0;
bool cThread::signalHandlerInstalled = false;
bool cThread::emergencyExitRequested = false;
@@ -191,25 +189,6 @@ void cThread::WakeUp(void)
kill(parentPid, SIGIO); // makes any waiting 'select()' call return immediately
}
-#define MAXPANICLEVEL 10
-
-void cThread::RaisePanic(void)
-{
- if (lastPanic > 0) {
- if (time(NULL) - lastPanic < 5)
- panicLevel++;
- else if (panicLevel > 0)
- panicLevel--;
- }
- lastPanic = time(NULL);
- if (panicLevel > MAXPANICLEVEL) {
- esyslog("ERROR: max. panic level exceeded");
- EmergencyExit(true);
- }
- else
- dsyslog("panic level: %d", panicLevel);
-}
-
bool cThread::EmergencyExit(bool Request)
{
if (!Request)