Title: [137766] trunk/Source/WebKit2
Revision
137766
Author
[email protected]
Date
2012-12-14 13:25:22 -0800 (Fri, 14 Dec 2012)

Log Message

        Resource loads sometimes stall
        https://bugs.webkit.org/show_bug.cgi?id=104976

        Apply the same quick an dirty fix to BlockingBoolResponseMap.

        * Shared/BlockingResponseMap.h:
        (BlockingBoolResponseMap::didReceiveResponse):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (137765 => 137766)


--- trunk/Source/WebKit2/ChangeLog	2012-12-14 21:17:08 UTC (rev 137765)
+++ trunk/Source/WebKit2/ChangeLog	2012-12-14 21:25:22 UTC (rev 137766)
@@ -1,3 +1,13 @@
+2012-12-14  Alexey Proskuryakov  <[email protected]>
+
+        Resource loads sometimes stall
+        https://bugs.webkit.org/show_bug.cgi?id=104976
+
+        Apply the same quick an dirty fix to BlockingBoolResponseMap.
+
+        * Shared/BlockingResponseMap.h:
+        (BlockingBoolResponseMap::didReceiveResponse):
+
 2012-12-14  Anders Carlsson  <[email protected]>
 
         Add a DownloadsProxyMap class in preparation for moving the downloads map away from WebContext

Modified: trunk/Source/WebKit2/Shared/BlockingResponseMap.h (137765 => 137766)


--- trunk/Source/WebKit2/Shared/BlockingResponseMap.h	2012-12-14 21:17:08 UTC (rev 137765)
+++ trunk/Source/WebKit2/Shared/BlockingResponseMap.h	2012-12-14 21:25:22 UTC (rev 137766)
@@ -91,7 +91,8 @@
         ASSERT(!m_responses.contains(requestID));
 
         m_responses.set(requestID, response);
-        m_condition.signal();
+        // FIXME (NetworkProcess): Waking up all threads is quite inefficient.
+        m_condition.broadcast();
     }
 
 private:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to