qt5base-lts/tests/auto/corelib/thread
Allan Sandfeld Jensen fe36d47b37 Fix race condition in QThreadPool::clear
Since we drop the lock while deleting threads, we need to handle
the queue possibly being accessed and changed by the pool threads
while clear() is running.

Pick-to: 5.15
Fixes: QTBUG-87092
Change-Id: I7611edab90520454278502a58621e299f9cd1f6e
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-10-01 12:15:22 +02:00
..
qatomicint CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qatomicinteger CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qatomicpointer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfuture CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfuturesynchronizer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfuturewatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmutex CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmutexlocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qpromise CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qreadlocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qreadwritelock CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qresultstore CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qsemaphore CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qthread CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qthreadonce CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qthreadpool Fix race condition in QThreadPool::clear 2020-10-01 12:15:22 +02:00
qthreadstorage CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qwaitcondition CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qwritelocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Skip / ignore failing tests on CMake platforms 2020-07-01 14:55:29 +02:00
CMakeLists.txt CMake: Skip / ignore failing tests on CMake platforms 2020-07-01 14:55:29 +02:00
thread.pro Add QPromise implementation 2020-06-09 17:21:38 +03:00