Changeset 187988 in webkit
- Timestamp:
- Aug 5, 2015 2:42:45 PM (9 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r187972 r187988 1 2015-08-05 Filip Pizlo <fpizlo@apple.com> 2 3 Unreviewed, fix Windows. 4 5 * wtf/ThreadSpecificWin.cpp: 6 (WTF::destructorsList): 7 (WTF::destructorsMutex): 8 (WTF::threadSpecificKeyCreate): 9 (WTF::threadSpecificKeyDelete): 10 (WTF::ThreadSpecificThreadExit): 11 1 12 2015-08-04 Filip Pizlo <fpizlo@apple.com> 2 13 -
trunk/Source/WTF/wtf/ThreadSpecificWin.cpp
r148490 r187988 39 39 } 40 40 41 static Mutex& destructorsMutex()41 static DeprecatedMutex& destructorsMutex() 42 42 { 43 static Mutex staticMutex;43 static DeprecatedMutex staticMutex; 44 44 return staticMutex; 45 45 } … … 96 96 new (*key) PlatformThreadSpecificKey(destructor); 97 97 98 MutexLocker locker(destructorsMutex());98 DeprecatedMutexLocker locker(destructorsMutex()); 99 99 destructorsList().push(*key); 100 100 } … … 102 102 void threadSpecificKeyDelete(ThreadSpecificKey key) 103 103 { 104 MutexLocker locker(destructorsMutex());104 DeprecatedMutexLocker locker(destructorsMutex()); 105 105 destructorsList().remove(key); 106 106 key->~PlatformThreadSpecificKey(); … … 127 127 } 128 128 129 MutexLocker locker(destructorsMutex());129 DeprecatedMutexLocker locker(destructorsMutex()); 130 130 PlatformThreadSpecificKey* key = destructorsList().head(); 131 131 while (key) {
Note: See TracChangeset
for help on using the changeset viewer.