qt6-bb10/tests/auto/corelib/thread
Ievgenii Meshcheriakov 1afd562b0b QThreadPool: Fix restarting of expired threads
Ensure that expired threads have actually finished before attempting
to restart them. Calling start() on a thread that is not yet finished
does nothing.

Add a regression test into tst_qthreadpool that attempts to trigger
reuse of expired threads and verifies that all submitted tasks
execute.

Fixes: QTBUG-72872
Pick-to: 6.2
Change-Id: I2109b628b8a4e91491115dc56aebf3eb249646b5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-09-15 15:46:53 +02:00
..
qatomicint Remove the qmake project files 2021-01-07 15:32:28 +01:00
qatomicinteger Remove the qmake project files 2021-01-07 15:32:28 +01:00
qatomicpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuture Don't report results when the results list is empty 2021-07-27 19:57:27 +02:00
qfuturesynchronizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuturewatcher QtConcurrent::run: support non default-constructible return types 2021-08-18 09:41:55 +02:00
qmutex tests: fix some -Wvolatile 2021-07-28 17:50:09 +02:00
qmutexlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpromise QFuture/QPromise: don't check for is_copy_constructible 2021-05-21 11:08:11 +02:00
qreadlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qreadwritelock Skip tst_QReadWriteLock::multipleReadersLoop on QEMU 2021-09-09 21:08:42 +02:00
qresultstore Don't report results when the results list is empty 2021-07-27 19:57:27 +02:00
qsemaphore QSemaphore: add <chrono> overload of tryAcquire() 2021-06-30 23:48:21 +02:00
qthread Attempt to unwedge tst_QThread::wait3_slowDestructor() 2021-08-17 19:18:54 +02:00
qthreadonce Skip tst_qthreadonce test on QEMU 2021-07-20 16:51:51 +02:00
qthreadpool QThreadPool: Fix restarting of expired threads 2021-09-15 15:46:53 +02:00
qthreadstorage Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qwaitcondition Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwritelocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00