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] |
On Wednesday 02 December 2009 14:49:40 Chris Hall wrote: > 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... if you just want things to work, define _GNU_SOURCE and you should get access to everything -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |