This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pthread_attr_setscope fails


Hi all,

It seems that pthread_attr_setscope(&ta, PTHREAD_SCOPE_PROCESS); fails
with the error "Operation not supported" whereas
sysconf(_SC_THREAD_PRIORITY_SCHEDULING); returns 200112 (The Thread
Execution Scheduling option is supported).

It this a normal behavior? If the functionnality is only partially
supported, I would expect none of the routines pthread_attr_getscope and
pthread_attr_setscope to succeed, and the sysconf call to return -1.

Any thoughts?

Sebastien.

-------------------------------
Sebastien DECUGIS
NPTL Test & Trace Project
http://nptl.bullopensource.org/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]