mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added cThread::SetPriority() and using it in cSectionHandler::Action() to reduce the priority of the section handler threads
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user