[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pthread_attr_setschedinherit() and pthread_attr_setschedparam() updatethe wrong fields



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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]