I demand that Tobias Grimm may or may not have written...
Klaus Schmidinger wrote:
[Ville Skyttä wrote:]
thread.c: In member function 'bool cThread::Start()': thread.c:258: warning: null argument where non-null required (argument 3)
That'd be the third parameter of pthread_setschedparam. Something like __attribute__ ((nonnull (3))) attached to the declaration of pthread_setschedparam would do it; I don't see anything like that here, but perhaps there are some in glibc 2.4's <pthread.h>?
I'm not sure if there is any connection to this, but valgrind complains:
==6486== Syscall param write(buf) points to uninitialised byte(s) ==6486== at 0x1B93FA3B: write (in /usr/lib/debug/libpthread-0.10.so) ==6486== by 0x1B93BC6A: pthread_create@@GLIBC_2.1 (pthread.c:817) ==6486== by 0x8135CC9: cThread::Start() (thread.c:256)
[snip]
Unfortunately I couldn't figure out yet what's going on there, so I just ignored it and added it to the suppression file. It might simply be a problem with valgrind.
Either that or it's a glibc bug.