Changeset 35726 in webkit for trunk/JavaScriptCore
- Timestamp:
- Aug 13, 2008, 1:00:51 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r35714 r35726 1 2008-08-13 Alp Toker <[email protected]> 2 3 Reviewed by Eric Seidel. 4 5 https://bugs.webkit.org/show_bug.cgi?id=20349 6 WTF::initializeThreading() fails if threading is already initialized 7 8 Fix threading initialization logic to support cases where 9 g_thread_init() has already been called elsewhere. 10 11 Resolves database-related crashers reported in several applications. 12 13 * wtf/ThreadingGtk.cpp: 14 (WTF::initializeThreading): 15 1 16 2008-08-13 Brad Hughes <[email protected]> 2 17 -
trunk/JavaScriptCore/wtf/ThreadingGtk.cpp
r35419 r35726 50 50 void initializeThreading() 51 51 { 52 if (!g_thread_supported()) {52 if (!g_thread_supported()) 53 53 g_thread_init(NULL); 54 ASSERT(!atomicallyInitializedStaticMutex); 54 ASSERT(g_thread_supported()); 55 56 if (!atomicallyInitializedStaticMutex) { 55 57 atomicallyInitializedStaticMutex = new Mutex; 56 58 threadMapMutex(); … … 58 60 mainThreadIdentifier = currentThread(); 59 61 } 60 ASSERT(g_thread_supported());61 62 } 62 63
Note:
See TracChangeset
for help on using the changeset viewer.