Changeset 91906 in webkit for trunk/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
- Timestamp:
- Jul 27, 2011, 10:16:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
r91444 r91906 34 34 35 35 #include "CurrentTime.h" 36 #include "DateMath.h" 37 #include "dtoa.h" 36 38 #include "HashMap.h" 37 39 #include "MainThread.h" … … 41 43 #include "ThreadSpecific.h" 42 44 #include "UnusedParam.h" 45 #include <wtf/WTFThreadData.h> 43 46 #include <errno.h> 44 47 … … 79 82 return; 80 83 84 // StringImpl::empty() does not construct its static string in a threadsafe fashion, 85 // so ensure it has been initialized from here. 86 StringImpl::empty(); 81 87 atomicallyInitializedStaticMutex = new Mutex; 82 88 threadMapMutex(); 83 89 initializeRandomNumberGenerator(); 90 wtfThreadData(); 91 #if ENABLE(WTF_MULTIPLE_THREADS) 92 s_dtoaP5Mutex = new Mutex; 93 initializeDates(); 94 #endif 84 95 } 85 96
Note:
See TracChangeset
for help on using the changeset viewer.