diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-07-01 11:25:29 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-07-01 11:25:29 (GMT) |
commit | ea3fcb104a1d667d058a8640df9b40d575aefe69 (patch) | |
tree | cf12929b4f8295f391f0e144ab5406ae32eb334f /src/corelib/thread/qthread.cpp | |
parent | 1281617cd15b51f08db392a04387f583197c4cd9 (diff) | |
parent | f8b3ea2988bb57e67d38cfc00d2fbfb950564421 (diff) | |
download | Qt-ea3fcb104a1d667d058a8640df9b40d575aefe69.zip Qt-ea3fcb104a1d667d058a8640df9b40d575aefe69.tar.gz Qt-ea3fcb104a1d667d058a8640df9b40d575aefe69.tar.bz2 |
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-doc-team: (68 commits)
Doc: Updated documentation with \since 4.8 declarations.
Fix vertical positioning of glyphs in raster engine with FreeType
Ensure a small event check interval on uikit platform.
Change default application font for uikit platform.
Use the QPoint memory layout change only on Desktop Mac
Fix 2cb398e1d901e62384bb2b388761cfd18fc8804a in case of no coreservices
Make it compile with openssl 1.0.0d, gcc 4.6
QStringBuilder: do not crash with null char*
Add IPHONEOS deployment vars to makespec
Post key events via QWindowSystemInterface, don't post events direcly
Use nicer fonts and a few little patches to uikit platform.
Update README and qmlapplicationviewer to suit 4.8.
Updated proof-of-concept UIKit mkspecs
Re-apply licenseheader text in source files for qt4.8
Fix event delevery order
Reorder variable to eliminate warnings
Only compare styleNames if they are not empty
Add styleName to QFontDef comparison
qsystemlibrary needs no special treatment
QSocketNotifier autotest - fix compile with MSVC
...
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r-- | src/corelib/thread/qthread.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index 02a63bb..5dfc946 100644 --- a/src/corelib/thread/qthread.cpp +++ b/src/corelib/thread/qthread.cpp @@ -434,6 +434,12 @@ bool QThread::isRunning() const { Q_D(const QThread); QMutexLocker locker(&d->mutex); +#ifdef Q_OS_SYMBIAN + // app shutdown on Symbian can terminate threads and invalidate their stacks without notification, + // check the thread is still alive. + if (d->data->symbian_thread_handle.Handle() && d->data->symbian_thread_handle.ExitType() != EExitPending) + return false; +#endif return d->running; } |