summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.cpp
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-09-14 16:02:26 +0200
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-09-15 15:46:53 +0200
commit1afd562b0b0bbba02575aa79601f0fae555cfa19 (patch)
tree34013cb564256f1e17c4333e804c6bc9b68814f5 /src/gui/kernel/qwindow.cpp
parent797039eb20fcdff0c533e16ea35d3524edc6ae25 (diff)
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>
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
0 files changed, 0 insertions, 0 deletions