summaryrefslogtreecommitdiff
path: root/sections.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-10-04 12:32:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-10-04 12:32:31 +0200
commit1e9b16d20bacb9795a07af5ff61db67fc78c3728 (patch)
tree89f487b4781a65b81e2625f28a18207e82eb1cec /sections.c
parent5a407d0e68c8b0ef00613f6839aeadbf6b92224a (diff)
downloadvdr-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 'sections.c')
-rw-r--r--sections.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sections.c b/sections.c
index c9ed0c14..991499bc 100644
--- a/sections.c
+++ b/sections.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sections.c 2.1 2012/08/26 12:53:39 kls Exp $
+ * $Id: sections.c 2.2 2012/10/04 12:21:59 kls Exp $
*/
#include "sections.h"
@@ -40,7 +40,7 @@ public:
// --- cSectionHandler -------------------------------------------------------
cSectionHandler::cSectionHandler(cDevice *Device)
-:cThread("section handler")
+:cThread("section handler", true)
{
shp = new cSectionHandlerPrivate;
device = Device;
@@ -164,7 +164,6 @@ void cSectionHandler::SetStatus(bool On)
void cSectionHandler::Action(void)
{
- SetPriority(19);
while (Running()) {
Lock();