Title: [187988] trunk/Source/WTF
- Revision
- 187988
- Author
- fpi...@apple.com
- Date
- 2015-08-05 14:42:45 -0700 (Wed, 05 Aug 2015)
Log Message
Unreviewed, fix Windows.
* wtf/ThreadSpecificWin.cpp:
(WTF::destructorsList):
(WTF::destructorsMutex):
(WTF::threadSpecificKeyCreate):
(WTF::threadSpecificKeyDelete):
(WTF::ThreadSpecificThreadExit):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (187987 => 187988)
--- trunk/Source/WTF/ChangeLog 2015-08-05 21:38:26 UTC (rev 187987)
+++ trunk/Source/WTF/ChangeLog 2015-08-05 21:42:45 UTC (rev 187988)
@@ -1,3 +1,14 @@
+2015-08-05 Filip Pizlo <fpi...@apple.com>
+
+ Unreviewed, fix Windows.
+
+ * wtf/ThreadSpecificWin.cpp:
+ (WTF::destructorsList):
+ (WTF::destructorsMutex):
+ (WTF::threadSpecificKeyCreate):
+ (WTF::threadSpecificKeyDelete):
+ (WTF::ThreadSpecificThreadExit):
+
2015-08-04 Filip Pizlo <fpi...@apple.com>
Rename Mutex to DeprecatedMutex
Modified: trunk/Source/WTF/wtf/ThreadSpecificWin.cpp (187987 => 187988)
--- trunk/Source/WTF/wtf/ThreadSpecificWin.cpp 2015-08-05 21:38:26 UTC (rev 187987)
+++ trunk/Source/WTF/wtf/ThreadSpecificWin.cpp 2015-08-05 21:42:45 UTC (rev 187988)
@@ -38,9 +38,9 @@
return staticList;
}
-static Mutex& destructorsMutex()
+static DeprecatedMutex& destructorsMutex()
{
- static Mutex staticMutex;
+ static DeprecatedMutex staticMutex;
return staticMutex;
}
@@ -95,13 +95,13 @@
*key = static_cast<PlatformThreadSpecificKey*>(::malloc(sizeof(PlatformThreadSpecificKey)));
new (*key) PlatformThreadSpecificKey(destructor);
- MutexLocker locker(destructorsMutex());
+ DeprecatedMutexLocker locker(destructorsMutex());
destructorsList().push(*key);
}
void threadSpecificKeyDelete(ThreadSpecificKey key)
{
- MutexLocker locker(destructorsMutex());
+ DeprecatedMutexLocker locker(destructorsMutex());
destructorsList().remove(key);
key->~PlatformThreadSpecificKey();
::free(key);
@@ -126,7 +126,7 @@
data->destructor(data);
}
- MutexLocker locker(destructorsMutex());
+ DeprecatedMutexLocker locker(destructorsMutex());
PlatformThreadSpecificKey* key = destructorsList().head();
while (key) {
PlatformThreadSpecificKey* nextKey = key->next();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes