qt5base-lts/tests/auto/corelib
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
..
animation Avoid use after free in tst_qsequentialanimationgroup 2021-06-02 16:45:23 +02:00
global tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
io feat: add new interfaces for std::filesystem::path 2021-09-14 03:18:04 +02:00
itemmodels emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
kernel Q_DECLARE_INTERFACE: delete unspecialized qobject_interface_iid() 2021-09-07 12:09:49 -07:00
mimetypes Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin QPlugin/QFactoryLoader: remove Qt 5 plugin remnants 2021-09-14 01:12:18 -07:00
serialization tst_QtJson: add matching escape-generating test 2021-09-06 16:23:02 -07:00
text Teach QLocale::system() to use narrow format 2021-09-15 10:29:55 +02:00
thread QThreadPool: Fix restarting of expired threads 2021-09-15 15:46:53 +02:00
time Add new am/pm format-specifier that preserves locale's case 2021-09-08 20:28:40 +02:00
tools Fix compilation for recursive Qt containers 2021-09-07 15:48:35 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00