qt5base-lts/tests/auto/corelib/thread
Thiago Macieira 885eff0537 QThreadPool: obey the docs that say we always use at least 1 thread
Even if the user (usually accidentally) sets a thread count of zero or
negative. The reporter in the bug report did
QThread::idealThreadCount() - 1 on a 1 CPU system...

Drive-by add to the documentation and the missing #include.

Pick-to: 6.1 6.0
Fixes: QTBUG-93007
Change-Id: I6cdea00671e8479b9c50fffd167807d14e030154
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2021-04-24 00:37:14 +00: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 QtFuture::connect: disconnect signals first 2021-04-12 12:37:40 +02:00
qfuturesynchronizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuturewatcher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmutex Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmutexlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpromise tst_qpromise: build fix 2021-04-20 20:34:53 +02:00
qreadlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qreadwritelock Remove the qmake project files 2021-01-07 15:32:28 +01:00
qresultstore Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsemaphore Remove the qmake project files 2021-01-07 15:32:28 +01:00
qthread Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
qthreadonce Remove the qmake project files 2021-01-07 15:32:28 +01:00
qthreadpool QThreadPool: obey the docs that say we always use at least 1 thread 2021-04-24 00:37:14 +00: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