X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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: References: <53DB8D23 DOT 7060806 AT alice DOT it> <20140801133225 DOT GD25860 AT calimero DOT vinschen DOT de> <53DEDBBA DOT 20102 AT cornell DOT edu> <20140804080034 DOT GA2578 AT calimero DOT vinschen DOT de> <53DF8BDC DOT 8090104 AT cornell DOT edu> <20140804134526 DOT GK2578 AT calimero DOT vinschen DOT de> <53E0CC2D DOT 4080305 AT cornell DOT edu> Date: Tue, 5 Aug 2014 14:58:57 +0100 Message-ID: Subject: Re: (call-process ...) hangs in emacs From: Peter Hull To: cygwin AT cygwin DOT 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