summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-13 13:55:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-13 13:55:23 +0200
commit5b57bdebdcecf9e544cbf0af72b77106efa62d8f (patch)
tree49bc4305a3ba3a31161413c286085a6e715f6b0a /recording.c
parentb36d06e1eaf89467410a45bd9b5c48ec61c878ff (diff)
downloadvdr-5b57bdebdcecf9e544cbf0af72b77106efa62d8f.tar.gz
vdr-5b57bdebdcecf9e544cbf0af72b77106efa62d8f.tar.bz2
Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThread
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index 00965a7d..c86b1636 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.11 2009/04/13 12:28:36 kls Exp $
+ * $Id: recording.c 2.12 2009/04/13 13:50:39 kls Exp $
*/
#include "recording.h"
@@ -85,6 +85,7 @@ cRemoveDeletedRecordingsThread::cRemoveDeletedRecordingsThread(void)
void cRemoveDeletedRecordingsThread::Action(void)
{
SetPriority(19);
+ SetIOPriority(7);
// Make sure only one instance of VDR does this:
cLockFile LockFile(VideoDirectory);
if (LockFile.Lock()) {