diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-04 12:32:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-04 12:32:31 +0200 |
commit | 1e9b16d20bacb9795a07af5ff61db67fc78c3728 (patch) | |
tree | 89f487b4781a65b81e2625f28a18207e82eb1cec /recording.c | |
parent | 5a407d0e68c8b0ef00613f6839aeadbf6b92224a (diff) | |
download | vdr-1e9b16d20bacb9795a07af5ff61db67fc78c3728.tar.gz vdr-1e9b16d20bacb9795a07af5ff61db67fc78c3728.tar.bz2 |
The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/recording.c b/recording.c index 8600e077..783a46e5 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 2.65 2012/10/03 12:52:13 kls Exp $ + * $Id: recording.c 2.66 2012/10/04 12:21:38 kls Exp $ */ #include "recording.h" @@ -83,14 +83,12 @@ public: }; cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread(void) -:cThread("remove deleted recordings") +:cThread("remove deleted recordings", true) { } void cRemoveDeletedRecordingsThread::Action(void) { - SetPriority(19); - SetIOPriority(7); // Make sure only one instance of VDR does this: cLockFile LockFile(VideoDirectory); if (LockFile.Lock()) { |