delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/11:52:38

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
Message-ID: <3AF6C465.B79ED4CD@trex.rtpnc.epa.gov>
Date: Mon, 07 May 2001 11:51:01 -0400
From: Greg Smith <rys AT epaibm DOT rtpnc DOT epa DOT gov>
X-Mailer: Mozilla 4.74 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: greg smith <cygwin AT cygwin DOT com>
Subject: Re: loop in pthread_cond_broadcast
References: <3AEF04AC DOT 62D56B1B AT trex DOT rtpnc DOT epa DOT gov>

Loop in function pthread_cond_broadcast was apparently caused by
pthread_cond method Broadcast decrementing the thread waiting count,
but the thread waiting count is also decremented when the thread wakes
up in __pthread_cond[timed]wait.  These routines are in thread.cc.

Many thanks to Rob Collins for committing a patch; the fix will be
available in 1.3.2, as I understand. 

Greg

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