This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
glibc 2.10, NPTL and missing pthread_mutexattr_settype
- From: "Chris Hall" <chris dot hall dot list at highwayman dot com>
- To: <libc-help at sourceware dot org>
- Date: Wed, 2 Dec 2009 19:49:40 -0000
- Subject: glibc 2.10, NPTL and missing pthread_mutexattr_settype
- References:
Hi,
I come desperately seeking enlightenment -- I seem to have hit a brick wall
trying to find out what NPTL does and does not support.
Can anyone point me in the direction of any authoritative source on this,
please ?
I have a particular problem with pthread_mutexattr_settype and the related
PTHREAD_MUTEX_XXX values. (I have Fedora with glibc 2.10.)
These seem to be skipped under _USE_UNIX98 in pthreads.h. I note that this
is marked optional [XSI] in 1003.1-2004 but moved to Base in 1003.1-2008.
So... should I expect to find them in a current version of glibc ?
So digging some more, I find that in unistd.h there's #define _XOPEN_VERSION
700 -- which means I should expect 1003.1-2008, yes ? Which includes the
pthread_mutexattr_settype etc...
Thanks,
Chris