Added cThread::SetPriority() and using it in cSectionHandler::Action() to reduce the priority of the section handler threads

This commit is contained in:
Klaus Schmidinger
2005-05-29 11:44:52 +02:00
parent 961e7a9115
commit e622406342
5 changed files with 14 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: sections.c 1.10 2004/10/24 11:05:12 kls Exp $
* $Id: sections.c 1.11 2005/05/29 11:43:17 kls Exp $
*/
#include "sections.h"
@@ -167,6 +167,7 @@ void cSectionHandler::SetStatus(bool On)
void cSectionHandler::Action(void)
{
active = true;
SetPriority(19);
while (active) {
Lock();