summaryrefslogtreecommitdiff
path: root/thread.h
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 /thread.h
parentb36d06e1eaf89467410a45bd9b5c48ec61c878ff (diff)
downloadvdr-5b57bdebdcecf9e544cbf0af72b77106efa62d8f.tar.gz
vdr-5b57bdebdcecf9e544cbf0af72b77106efa62d8f.tar.bz2
Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThread
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index 6eaa79a7..d4919eb6 100644
--- a/thread.h
+++ b/thread.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.h 1.39 2007/02/24 16:13:28 kls Exp $
+ * $Id: thread.h 2.1 2009/04/13 13:50:39 kls Exp $
*/
#ifndef __THREAD_H
@@ -87,6 +87,7 @@ private:
static void *StartThread(cThread *Thread);
protected:
void SetPriority(int Priority);
+ void SetIOPriority(int Priority);
void Lock(void) { mutex.Lock(); }
void Unlock(void) { mutex.Unlock(); }
virtual void Action(void) = 0;