Changeset 34659 in webkit for trunk/JavaScriptCore/kjs/InitializeThreading.cpp
- Timestamp:
- Jun 19, 2008, 10:29:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/InitializeThreading.cpp
r34412 r34659 50 50 s_dtoaP5Mutex = new Mutex; 51 51 #if !PLATFORM(DARWIN) // Darwin has pthread_main_np(), and doesn't need registerAsMainThread() called. 52 Collector::registerAsMainThread();52 Heap::registerAsMainThread(); 53 53 #endif 54 54 JSGlobalData::threadInstance(); … … 62 62 #if PLATFORM(DARWIN) 63 63 pthread_once(&initializeThreadingKeyOnce, initializeThreadingOnce); 64 65 // FIXME: do we want heap introspector to work on other threads? 66 if (pthread_main_np()) 67 JSGlobalData::threadInstance().heap->initializeHeapIntrospector(); 64 68 #else 65 69 static bool initializedThreading = false;
Note:
See TracChangeset
for help on using the changeset viewer.