Re: [PATCH 27/36] attr: convert to new threadsafe API
- From
Jeff King <peff@peff.net>
- Date
- Oct 26, 2016, 20:26 UTC
- Message-ID
- <20161026202652.kz63mxqqjan7swvl@sigill.intra.peff.net>
- In-Reply-To
- <e1f760f5-27a7-8266-5d6c-d61fab7e194d@kdbg.org>
On Wed, Oct 26, 2016 at 10:25:38PM +0200, Johannes Sixt wrote:
Show 5 quoted lines
> Am 26.10.2016 um 21:51 schrieb Stefan Beller: > > it is > > very convenient to not have to explicitly initialize mutexes? > > Not to initialize a mutex is still wrong for pthreads.
I think Stefan was being loose with his wording. There would still be an initializer, but it would be a constant (and in the case of pthread emulation on Windows, would just be NULL).
-Peff