This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
pthread_attr_setscope fails
- From: Sebastien Decugis <sebastien dot decugis at ext dot bull dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 26 Aug 2004 10:02:39 +0200
- Subject: pthread_attr_setscope fails
- Organization: Bull S.A.
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/