X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=u0
	yqjMwfgxAc/WjjEjtWdCY4nKKitqD6oVnw4EY2gNvPFQsxE1P6ZvIjF9WUMaCrSU
	rRF7m49O4UCz0AA9DaLJUtO7BpLyfJ/pEZejcGFB/zUiROfVgcAtc8C4dmaLX8kK
	2sqgRy+oVQ5yeWuxNfDVqGhIIWd2s6EINLycwEJHA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=rkISBMjk
	FI41QvOm9AlA1e1AU9w=; b=JHGxV3i0jJQjlQIGo6BFklOnPJDY8naWyJg2EOPW
	nahjq7hGh8Vve4wTAalBlJ54VRd81hjC79mCPQ/LFk62yF9BTEBmAwpEH3V/Oogr
	xuT5fU10utRfYBwalMY+ru4VvQtljP3wVDP2e6cpY05gVcydZtN1dO7PrzIDhkGt
	qnI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.112.98.140 with SMTP id ei12mr4245023lbb.6.1407247137710; Tue, 05 Aug 2014 06:58:57 -0700 (PDT)
In-Reply-To: <CAK9Gx1cpNpX7Es_wYqo1iVAzZ-yLBfg6JZ2RvQZTqEi5x4hBtQ@mail.gmail.com>
References: <53DB8D23.7060806@alice.it>	<CAK9Gx1cjj-7cDP7CunD7Bxz35L+SU9+4Ro3HRot5cwjcArudOA@mail.gmail.com>	<20140801133225.GD25860@calimero.vinschen.de>	<53DEDBBA.20102@cornell.edu>	<20140804080034.GA2578@calimero.vinschen.de>	<53DF8BDC.8090104@cornell.edu>	<20140804134526.GK2578@calimero.vinschen.de>	<53E0CC2D.4080305@cornell.edu>	<CAK9Gx1cpNpX7Es_wYqo1iVAzZ-yLBfg6JZ2RvQZTqEi5x4hBtQ@mail.gmail.com>
Date: Tue, 5 Aug 2014 14:58:57 +0100
Message-ID: <CAK9Gx1e_Kf_sWrjc4x=ne258AxaWwZ6V7g8itUtnBfS8LBp6+A@mail.gmail.com>
Subject: Re: (call-process ...) hangs in emacs
From: Peter Hull <peterhull90@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

In my experiments, not calling pthread_mutexattr_init caused errors
such that the final mutex was invalid and could not be locked.

The difference between the explicitly initialised mutex and the
statically initialised one is that the latter does get 'lazily'
initialised when the mutex is first locked (I think...?) so  maybe the
problem is something to do with the timing of that?

Pete

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

