Re: What's cooking in git.git (Apr 2010, #03; Wed, 07)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 8, 2010 at 08:33, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes:
>> BTW, are there Unices that do not have a recursive mutex?
>
> PTHREAD_MUTEX_RECURSIVE is not marked as optional in any way, so I would
> imagine an implementation that lacks it would say NO_PTHREADS in the
> Makefile.
>
> Cf.
>
>  http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html

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.

- Fredrik
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]