summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-29 11:44:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-29 11:44:52 +0200
commite622406342c6ac1fefec5a3d2800b9c49951ab0d (patch)
tree74c8098cddc17635060fb5015ae1137afc513786 /thread.h
parent961e7a9115e52f1bd85c928a96821222c1022014 (diff)
downloadvdr-41066bb7871f8f996d1f1fc67a544beff4777321.tar.gz
vdr-41066bb7871f8f996d1f1fc67a544beff4777321.tar.bz2
Added cThread::SetPriority() and using it in cSectionHandler::Action() to reduce the priority of the section handler threads1.3.25
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 2c0ebcba..48d04990 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.27 2005/01/14 14:02:14 kls Exp $
+ * $Id: thread.h 1.28 2005/05/29 11:31:24 kls Exp $
*/
#ifndef __THREAD_H
@@ -82,6 +82,7 @@ private:
static bool emergencyExitRequested;
static void *StartThread(cThread *Thread);
protected:
+ void SetPriority(int Priority);
void Lock(void) { mutex.Lock(); }
void Unlock(void) { mutex.Unlock(); }
virtual void Action(void) = 0;