delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/05/09:34:03

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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> <CAK9Gx1cjj-7cDP7CunD7Bxz35L+SU9+4Ro3HRot5cwjcArudOA AT mail DOT gmail DOT com> <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: <CAK9Gx1cpNpX7Es_wYqo1iVAzZ-yLBfg6JZ2RvQZTqEi5x4hBtQ@mail.gmail.com>
Subject: Re: (call-process ...) hangs in emacs
From: Peter Hull <peterhull90 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Tue, Aug 5, 2014 at 1:21 PM, Ken Brown <kbrown AT cornell DOT edu> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019