Changeset 81825 in webkit for trunk/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
- Timestamp:
- Mar 23, 2011, 5:06:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
r75019 r81825 56 56 #endif 57 57 58 #if OS(MAC_OS_X) && !defined(BUILDING_ON_LEOPARD) 59 #include <objc/objc-auto.h> 60 #endif 61 58 62 namespace WTF { 59 63 … … 191 195 #endif 192 196 197 #if OS(MAC_OS_X) && !defined(BUILDING_ON_LEOPARD) 198 // All threads that potentially use APIs above the BSD layer must be registered with the Objective-C 199 // garbage collector in case API implementations use garbage-collected memory. 200 objc_registerThreadWithCollector(); 201 #endif 202 193 203 ThreadIdentifier id = identifierByPthreadHandle(pthread_self()); 194 204 ASSERT(id);
Note:
See TracChangeset
for help on using the changeset viewer.