qt5base-lts/tests/auto/corelib/thread
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
..
qatomicint corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qatomicpointer corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qmutex corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qmutexlocker corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qreadlocker corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qreadwritelock corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qsemaphore corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qthread QThread::isFinished should return true from finished() 2011-11-03 18:43:52 +01:00
qthreadonce corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qthreadstorage corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qwaitcondition corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
qwritelocker corelib: eliminated usage of qttest_p4.prf 2011-10-25 05:03:08 +02:00
thread.pro Moving relevant tests to corelib/thread 2011-09-01 12:54:58 +02:00