You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/06/29 19:29:47 UTC
svn commit: r551969 - /apr/apr/trunk/CHANGES
Author: davi
Date: Fri Jun 29 10:29:46 2007
New Revision: 551969
URL: http://svn.apache.org/viewvc?view=rev&rev=551969
Log:
Sync up changes of the win32 CV code.
Modified:
apr/apr/trunk/CHANGES
Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?view=diff&rev=551969&r1=551968&r2=551969
==============================================================================
--- apr/apr/trunk/CHANGES (original)
+++ apr/apr/trunk/CHANGES Fri Jun 29 10:29:46 2007
@@ -1,5 +1,13 @@
Changes for APR 1.3.0
+ *) Rework the WIN32 CV code to signal the condition only if one or
+ more threads are blocked on the condition variable. If no threads
+ are waiting on the condition variable, nothing happens. The change
+ also eliminates the thundering-herd problem of the manual-reset
+ event, which (theoretically) wakes up all threads waiting on. Now
+ the behavior of the CV's should be the same on Unix and win32
+ platforms. PR 42305. [Davi Arnaut]
+
*) Define SEM_FAILED if it isn't already defined, as the proc mutex
code already does it. Also search for the sem_open function in
the realtime library. (This fixes HP-UX sem_open detection).