pthread_attr_setschedinherit() and pthread_attr_setschedparam() update the wrong fields

John Schmidt <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
Running example from "Programming with POSIX Threads" on RH 9.0 with 
glibc-2.3.2-11.9 and libpthread-0.29.so, these calls set|update the 
wrong fields in the pthread_attr_t, pthread_attr_setschedpolicy() 
updates __schedpolicy correctly.  Here's the gdb output:

152             status = pthread_attr_setschedparam (
153                 &thread_attr, &thread_param);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.