From 5b57bdebdcecf9e544cbf0af72b77106efa62d8f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 13 Apr 2009 13:55:23 +0200 Subject: Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThread --- recording.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recording.c') 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()) { -- cgit v1.2.3