qt6-bb10/tests/auto/corelib
Olivier Goffart ec5e59b73c QThread::isFinished should return true from finished()
and isRunning() should return false.

This restore the Qt 4.7 behaviour

In Qt 4.7, the finished() was called with the thread's intenal mutex
locked. Which mean that:
 - Call to isRunning or isFinished called from a slot connected to
   finish within the thread would deadlock. (Hence no compatibility
   to keep here)
 - Call to isRunning or isFinished from a slot connected with
   QueuedConnection in another thread would lock the mutex until
   the destructors are finished. and then return as if the thread have
   finished.

Change-Id: I963eccae8f7634aff90cc4bbab6ca886a78e35eb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2011-11-03 18:43:52 +01:00
..
animation corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
codecs Remove unnecessary QSKIP. 2011-10-27 11:14:12 +02:00
concurrent Remove obsolete code from qtconcurrentiteratekernel test. 2011-10-31 05:27:40 +01:00
global Use C++11 static_assert 2011-11-02 13:24:36 +01:00
io Remove disabled test data from QUrl autotest 2011-11-02 05:43:49 +01:00
kernel tst_qvariant: add a test QVariant works with not movable types 2011-11-01 12:56:09 +01:00
plugin corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
statemachine Remove obsolete code from qstate autotest. 2011-10-31 06:59:11 +01:00
thread QThread::isFinished should return true from finished() 2011-11-03 18:43:52 +01:00
tools Remove disabled code from QString autotest. 2011-10-31 06:59:36 +01:00
xml Remove test that hasn't been enabled since 2007. 2011-11-01 17:39:32 +01:00
corelib.pro Exclude qtconcurrent tests via .pro files. 2011-10-12 18:01:19 +02:00