From: Tor Arntsen Date: Thu, 08 Apr 2010 09:14:56 GMT Subject: Re: ***SPAM*** Re: What's cooking in git.git (Apr 2010, #03; Wed, 07) Message-ID: In-Reply-To: On Thu, Apr 8, 2010 at 11:01, Fredrik Kuivinen 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