From: Junio C Hamano Date: Thu, 08 Apr 2010 06:33:08 GMT Subject: Re: What's cooking in git.git (Apr 2010, #03; Wed, 07) Message-ID: <7vwrwi78t7.fsf@alter.siamese.dyndns.org> In-Reply-To: <4BBD7228.8080403@viscovery.net> Johannes Sixt writes: > Am 4/8/2010 2:48, schrieb Junio C Hamano: >> * np/malloc-threading (2010-04-07) 2 commits >> - Make xmalloc and xrealloc thread-safe (addendum) >> - Make xmalloc and xrealloc thread-safe >> >> Updated with Freku's "init_recursive_mutex()". The fix should eventually >> go to 'maint' and 'master'. > > The addendum does not compile on Windows. I'm working on a replacement. Thanks. > 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