Changeset 37040 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 28, 2008, 11:56:50 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r37012 r37040 1 2008-09-28 Simon Hausmann <[email protected]> 2 3 Reviewed by David Hyatt. 4 5 In Qt's initializeThreading re-use an existing thread identifier for the main 6 thread if it exists. 7 8 currentThread() implicitly creates new identifiers and it could be that 9 it is called before initializeThreading(). 10 11 * wtf/ThreadingQt.cpp: 12 (WTF::initializeThreading): 13 1 14 2008-09-27 Keishi Hattori <[email protected]> 2 15 -
trunk/JavaScriptCore/wtf/ThreadingQt.cpp
r36763 r37040 128 128 wtf_random_init(); 129 129 QThread* mainThread = QCoreApplication::instance()->thread(); 130 mainThreadIdentifier = establishIdentifierForThread(mainThread); 130 mainThreadIdentifier = identifierByQthreadHandle(mainThread); 131 if (!mainThreadIdentifier) 132 mainThreadIdentifier = establishIdentifierForThread(mainThread); 131 133 initializeMainThread(); 132 134 }
Note:
See TracChangeset
for help on using the changeset viewer.