summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY6
-rw-r--r--thread.c3
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
diff --git a/HISTORY b/HISTORY
index 66258dd0..1ad80f7a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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.
diff --git a/thread.c b/thread.c
index 89d56e9f..c65f9e29 100644
--- a/thread.c
+++ b/thread.c
@@ -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;