pthread_attr_setscope fails

Sebastien Decugis sebastien.decugis@ext.bull.net
Thu Aug 26 07:57:00 GMT 2004


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/




More information about the Libc-alpha mailing list