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=vW IbAzcQeohHUlIWIKhm3GfE7KQGNDSqA0yQwaim2JSMbmSgH2VNi4MpgkPqtf4+u4 MWe1KjYJXxaWlT0ihZGfds6ucRJwr/sCu+vjlwYGNAqD7Ldja3T5+Tblr4aaArNn 0/3tRMgx9eBD4hsmyU/BuRR4SiV6Cw48lKU2fb6A8= 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=+OWrG223 FJoOxPAgcmsou3u+STQ=; b=EnakTxRPGpwXYrvJpgRhomksRsxaOqMFpC4nN0es FEj2eTwJcMopqmlTF6xtLA3PTXFezxFHugCdhh1kOISVx+UaYhjO8ZM0aYSiDo3n Mkeo907ZfJ+2EaWcmU0Y3/dKJK5dmDdzqYOYrKjcDA8BOtmDlFSKunFtnlx+fw24 95Y= 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.2 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-la0-f52.google.com MIME-Version: 1.0 X-Received: by 10.152.234.71 with SMTP id uc7mr4247629lac.22.1407245619935; Tue, 05 Aug 2014 06:33:39 -0700 (PDT) In-Reply-To: <53E0CC2D.4080305@cornell.edu> 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:33:39 +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 On Tue, Aug 5, 2014 at 1:21 PM, Ken Brown wrote: > - pthread_mutex_init (&_malloc_mutex, NULL); > - pthread_mutex_init (&_aligned_blocks_mutex, NULL); > + pthread_mutexattr_t attr1, attr2; > + pthread_mutexattr_settype (&attr1, PTHREAD_MUTEX_NORMAL); > + pthread_mutexattr_settype (&attr2, PTHREAD_MUTEX_NORMAL); > + pthread_mutex_init (&_malloc_mutex, &attr1); > + pthread_mutex_init (&_aligned_blocks_mutex, &attr2); > pthread_atfork (malloc_atfork_handler_prepare, > malloc_atfork_handler_parent, > malloc_atfork_handler_child); Does there need to be a 'pthread_mutexattr_init' in there? I don't think that's the problem though... 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