delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/15/08:09:03

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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "'Robert Collins'" <robert DOT collins AT itdomain DOT com DOT au>, <cygwin AT cygwin DOT com>
Cc: <cygwin-patches AT cygwin DOT com>
Subject: RE: hang in pthread_cond_signal
Date: Fri, 15 Jun 2001 07:52:36 -0400
Message-ID: <00a301c0f591$ad2acbe0$a300a8c0@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <03cb01c0f529$7b826020$0200a8c0@lifelesswks>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

Robert Collins writes:

 "Greg Smith" <rys AT epaibm DOT rtpnc DOT epa DOT gov> wrote:
>
>
>> 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 for the testcase Greg. The attached patch fixes your testcase.

With this patch 'some very simple' Python threading tests seem to work.
But many are still hanging.

Pthreads are still quite foreign to me but hopefully using Greg's test as
a starting point I can pinpoint the other problem areas now.

Thanks

Norman Vine

--
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