Re: [PATCH] git grep: be careful to use mutices only when they are initialized
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 26, 2011, 17:17 UTC
- Message-ID
- <7vvcrb3c69.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.1110251223500.32316@s15462909.onlinehome-server.info>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> Rather nasty things happen when a mutex is not initialized but locked > nevertheless. Now, when we're not running in a threaded manner, the mutex > is not initialized, which is correct.
Thanks; I wonder why pack-objects does not have the same issue, though.