Changeset 36056 in webkit for trunk/JavaScriptCore/wtf/ThreadingQt.cpp
- Timestamp:
- Sep 3, 2008, 9:37:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/ThreadingQt.cpp
r35598 r36056 30 30 #include "Threading.h" 31 31 32 #include <wtf/HashMap.h> 33 #include <wtf/MathExtras.h> 32 #include "HashMap.h" 33 #include "MainThread.h" 34 #include "MathExtras.h" 34 35 35 36 #include <QMutex> … … 65 66 Mutex* atomicallyInitializedStaticMutex; 66 67 68 #if !PLATFORM(DARWIN) 67 69 static ThreadIdentifier mainThreadIdentifier; 70 #endif 68 71 69 72 static Mutex& threadMapMutex() … … 125 128 threadMapMutex(); 126 129 wtf_random_init(); 130 #if !PLATFORM(DARWIN) 127 131 mainThreadIdentifier = currentThread(); 132 #endif 133 initializeMainThread(); 128 134 } 129 135 }
Note:
See TracChangeset
for help on using the changeset viewer.