Changeset 52046 in webkit for trunk/JavaScriptCore/wtf/ThreadingPthreads.cpp
- Timestamp:
- Dec 11, 2009, 10:30:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/ThreadingPthreads.cpp
r51211 r52046 56 56 static Mutex* atomicallyInitializedStaticMutex; 57 57 58 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) 58 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) || USE(WEB_THREAD) 59 59 static pthread_t mainThread; // The thread that was the first to call initializeThreading(), which must be the main thread. 60 60 #endif … … 72 72 threadMapMutex(); 73 73 initializeRandomNumberGenerator(); 74 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) 74 #if !PLATFORM(DARWIN) || PLATFORM(CHROMIUM) || USE(WEB_THREAD) 75 75 mainThread = pthread_self(); 76 76 #endif … … 230 230 bool isMainThread() 231 231 { 232 #if PLATFORM(DARWIN) && !PLATFORM(CHROMIUM) 232 #if PLATFORM(DARWIN) && !PLATFORM(CHROMIUM) && !USE(WEB_THREAD) 233 233 return pthread_main_np(); 234 234 #else
Note:
See TracChangeset
for help on using the changeset viewer.