This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: loop in pthread_cond_broadcast


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]