Changeset 58179 in webkit for trunk/JavaScriptCore/wtf/qt/MainThreadQt.cpp
- Timestamp:
- Apr 23, 2010, 11:59:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/qt/MainThreadQt.cpp
r40888 r58179 35 35 #include <QtCore/QCoreApplication> 36 36 37 38 37 namespace WTF { 39 38 … … 68 67 } 69 68 69 bool isMainThread() 70 { 71 return QThread::currentThread() == QCoreApplication::instance()->thread(); 72 } 73 70 74 } // namespace WTF 71 75
Note:
See TracChangeset
for help on using the changeset viewer.