diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-04 12:32:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-10-04 12:32:31 +0200 |
commit | 1e9b16d20bacb9795a07af5ff61db67fc78c3728 (patch) | |
tree | 89f487b4781a65b81e2625f28a18207e82eb1cec /sections.c | |
parent | 5a407d0e68c8b0ef00613f6839aeadbf6b92224a (diff) | |
download | vdr-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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(); |