Changeset 40811 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Feb 10, 2009, 12:26:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/ThreadingPthreads.cpp
r40608 r40811 49 49 static Mutex* atomicallyInitializedStaticMutex; 50 50 51 #if !PLATFORM(DARWIN) 51 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) 52 52 static ThreadIdentifier mainThreadIdentifier; // The thread that was the first to call initializeThreading(), which must be the main thread. 53 53 #endif … … 65 65 threadMapMutex(); 66 66 initializeRandomNumberGenerator(); 67 #if !PLATFORM(DARWIN) 67 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) 68 68 mainThreadIdentifier = currentThread(); 69 69 #endif … … 177 177 bool isMainThread() 178 178 { 179 #if PLATFORM(DARWIN) 179 #if PLATFORM(DARWIN) && !PLATFORM(CHROMIUM) 180 180 return pthread_main_np(); 181 181 #else
Note:
See TracChangeset
for help on using the changeset viewer.