This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: loop in pthread_cond_broadcast
- To: greg smith <cygwin at cygwin dot com>
- Subject: Re: loop in pthread_cond_broadcast
- From: Greg Smith <rys at epaibm dot rtpnc dot epa dot gov>
- Date: Mon, 07 May 2001 11:51:01 -0400
- References: <3AEF04AC.62D56B1B@trex.rtpnc.epa.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