delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/14/19:57:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 14 Jun 2001 19:53:50 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com, cygwin-patches AT cygwin DOT com
Subject: Re: hang in pthread_cond_signal
Message-ID: <20010614195350.D13587@redhat.com>
Reply-To: cygwin-patches AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, cygwin-patches AT cygwin DOT com
References: <3B290FE5 DOT 22678B61 AT trex DOT rtpnc DOT epa DOT gov> <03cb01c0f529$7b826020$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <03cb01c0f529$7b826020$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Fri, Jun 15, 2001 at 09:26:46AM +1000

On Fri, Jun 15, 2001 at 09:26:46AM +1000, Robert Collins wrote:
>
>----- Original Message -----
>From: "Greg Smith" <rys AT epaibm DOT rtpnc DOT epa DOT gov>
>To: <cygwin AT cygwin DOT com>
>Sent: Friday, June 15, 2001 5:26 AM
>Subject: hang in pthread_cond_signal
>
>
>> I am using the cygwin-src snapshot from June 10.
>>
>> Seems pthread_cond_signal can hang while another thread
>> is waiting on the condition AND a pthread_cond_signal
>> has been previously issued when no one was waiting on the
>> condition.  Below is a testcase that illustrates the
>> problem:
>>
>> Thanks,
>>
>> Greg
>>
>
>Thanks for the testcase Greg. The attached patch fixes your testcase.
>
>Rob
>
>Changelog:
>
>
>Fri June 15 09:25:00  Robert Collins <rbtcollins AT hotmail DOT com>
>
>	* thread.cc (pthread_cond::Signal): Release the condition access
>	variable correctly.

Patch applied.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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