diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-02 13:54:04 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-02 13:54:04 +0200 |
commit | 7997b678f292bf59dcca79d2791258d219e7a676 (patch) | |
tree | 9fefbbb7a856027f622cce785028dff5b2189560 | |
parent | 9847c7571dc8f76301dcff7a6eff8075f2179b09 (diff) | |
download | vdr-7997b678f292bf59dcca79d2791258d219e7a676.tar.gz vdr-7997b678f292bf59dcca79d2791258d219e7a676.tar.bz2 |
Removed the call to pthread_setschedparam(childTid, SCHED_RR, 0) in thread.c
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | thread.c | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 97cd195b..db37720c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1598,6 +1598,8 @@ Ville Skyttä <ville.skytta@iki.fi> for reporting an obsolete entry 'S21.5E' in the default 'diseqc.conf' for updating the GPL copies 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> for fixing setting the colored button help after deleting a recording in case the next @@ -4746,9 +4746,13 @@ Video Disk Recorder Revision History - Fixed deleting channels in case the current channel's number changes (reported 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 Huelswitt). - Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased 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. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -255,7 +255,6 @@ bool cThread::Start(void) active = running = true; if (pthread_create(&childTid, NULL, (void *(*) (void *))&StartThread, (void *)this) == 0) { pthread_detach(childTid); // auto-reap - pthread_setschedparam(childTid, SCHED_RR, 0); } else { LOG_ERROR; |