mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority
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 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();
|
||||
|
Reference in New Issue
Block a user