qt5base-lts/tests/auto/corelib/thread/qthreadpool
Svenn-Arne Dragly ce08318a46 Add QThreadPool autotest to detect stale threads after tryTake
This test makes sure that we do not introduce a regression where the
threads exited the inner loop over the queue before the queue was
empty. This was triggered by calling tryTake at least maxThreadCount
times, which left the same number of null pointers in the queue
and caused the inner loop to exit too soon for all the threads.

Change-Id: I3a9d800149b88d09510ddc424667670b60f06a33
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-11-16 12:42:44 +00:00
..
.gitignore Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
BLACKLIST tst_QThreadPool::tryStartCount(): Wait until tasks have finished. 2015-11-27 10:58:24 +00:00
qthreadpool.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
tst_qthreadpool.cpp Add QThreadPool autotest to detect stale threads after tryTake 2017-11-16 12:42:44 +00:00