On Thu, Apr 8, 2010 at 11:01, Fredrik Kuivinen <frekui@xxxxxxxxx> wrote: > For some reason I looked at Issue 6 of the standard (a previous > version, released in 2004). In that version pthread_mutexattr_settype > and PTHREAD_MUTEX_RECURSIVE are optional. See > http://www.opengroup.org/onlinepubs/009695399/basedefs/pthread.h.html > > However, it is probably best to just ignore the issue for now until > some platform appears where pthreads is available but not recursive > mutexes. IRIX 6.2 has one of those early, primitive implementations. It doesn't seem to have PTHREAD_MUTEX_RECURSIVE, even though it has pthread_mutex functions. Every other system I have (irix 6.5/solaris/aix) appears to have PTHREAD_MUTEX_RECURSIVE. -Tor -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html