This is the mail archive of the libc-help@sourceware.org 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]

glibc 2.10, NPTL and missing pthread_mutexattr_settype


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


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