1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Removed the call to pthread_setschedparam(childTid, SCHED_RR, 0) in thread.c

This commit is contained in:
Klaus Schmidinger 2006-06-02 13:54:04 +02:00
parent 9847c7571d
commit 7997b678f2
3 changed files with 8 additions and 3 deletions

View File

@ -1598,6 +1598,8 @@ Ville Skytt
for reporting an obsolete entry 'S21.5E' in the default 'diseqc.conf' for reporting an obsolete entry 'S21.5E' in the default 'diseqc.conf'
for updating the GPL copies for updating the GPL copies
for fixing several spelling errors for fixing several spelling errors
for reporting that the call to pthread_setschedparam(childTid, SCHED_RR, 0) in
thread.c caused a compiler warning with g++ 4.1.1
Steffen Beyer <cpunk@reactor.de> Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next for fixing setting the colored button help after deleting a recording in case the next

View File

@ -4746,9 +4746,13 @@ Video Disk Recorder Revision History
- Fixed deleting channels in case the current channel's number changes (reported - Fixed deleting channels in case the current channel's number changes (reported
by Mirko Dölle). by Mirko Dölle).
2006-05-28: Version 1.4.0-3 2006-06-02: Version 1.4.0-3
- Fixed the PremiereContentTransmissionDescriptor in 'libsi' (thanks to Stefan - Fixed the PremiereContentTransmissionDescriptor in 'libsi' (thanks to Stefan
Huelswitt). Huelswitt).
- Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased - Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased
the API version number - plugins will have to be recompiled. the API version number - plugins will have to be recompiled.
- Removed the call to pthread_setschedparam(childTid, SCHED_RR, 0) in thread.c,
because it caused a compiler warning with g++ 4.1.1 (reported by Ville Skyttä).
Since the third parameter has to be non-null to have any effect, the call was
presumably a NOP, anyway.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: thread.c 1.54 2006/03/26 09:22:27 kls Exp $ * $Id: thread.c 1.55 2006/06/02 13:51:39 kls Exp $
*/ */
#include "thread.h" #include "thread.h"
@ -255,7 +255,6 @@ bool cThread::Start(void)
active = running = true; active = running = true;
if (pthread_create(&childTid, NULL, (void *(*) (void *))&StartThread, (void *)this) == 0) { if (pthread_create(&childTid, NULL, (void *(*) (void *))&StartThread, (void *)this) == 0) {
pthread_detach(childTid); // auto-reap pthread_detach(childTid); // auto-reap
pthread_setschedparam(childTid, SCHED_RR, 0);
} }
else { else {
LOG_ERROR; LOG_ERROR;