[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
pthread_attr_setschedinherit() and pthread_attr_setschedparam() updatethe wrong fields
- From: John Schmidt <john schmidt compuware com>
- To: phil-list redhat com
- Subject: pthread_attr_setschedinherit() and pthread_attr_setschedparam() updatethe wrong fields
- Date: Fri, 06 Jun 2003 13:50:20 -0400
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]