Don't use dispatch_semaphore in NetworkCacheStorage
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index da889b9ce745e8650502bb20294b2372c61c359c..c92f121e3bf91631b8982a735061d20f82fc1c90 100644 (file)
@@ -1,3 +1,20 @@
+2015-03-06  Antti Koivisto  <antti@apple.com>
+
+        Don't use dispatch_semaphore in NetworkCacheStorage
+        https://bugs.webkit.org/show_bug.cgi?id=142395
+
+        Reviewed by Anders Carlsson.
+
+        * NetworkProcess/cache/NetworkCacheIOChannel.h:
+        * NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm:
+        (WebKit::NetworkCache::IOChannel::read):
+        (WebKit::NetworkCache::IOChannel::readSync):
+
+            Add readSync to encapsulate the semaphore.
+
+        * NetworkProcess/cache/NetworkCacheStorageCocoa.mm:
+        (WebKit::NetworkCache::Storage::traverse):
+
 2015-03-06  Antti Koivisto  <antti@apple.com>
 
         Move dispatch_data use behind NetworkCache::Data abstraction