qt5base-lts/tests/auto/corelib
Corentin Jabot 0d8ba7e349 QThreadPool - Add method clear() to remove queued QRunnable.
QThreadPool::clear() method removes all queued QRunnable.

When a large number of long-running tasks are queud in a
QThreadPool its destruction, which calls waitForDone(), can
be quite long.
QThreadPool:clear() removes (and deletes when appropriate)
all QRunnable that have yet to be started from the queue
enabling a faster interruption.

Change-Id: Ie5d6028ad3cfe7e439d1db068c8d0936ff818db9
Reviewed-by: David Faure <david.faure@kdab.com>
2013-08-16 15:43:53 +02:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Ensure that the user codecs are listed in QTextCodec::availableCodecs 2013-07-21 07:30:48 +02:00
global Make QFlags enum flags (C++11 strict enums) friendly 2013-05-09 12:17:59 +02:00
io Add a Qt-API style QStandardPaths::setTestModeEnabled 2013-08-09 21:25:24 +02:00
itemmodels Fix QAbstractItemModel::moveColumn() 2013-04-23 13:35:31 +02:00
json Merge branch 'stable' into dev 2013-07-11 16:42:01 +02:00
kernel Merge branch 'stable' into dev 2013-07-11 16:42:01 +02:00
mimetypes QMimeDatabase: pass MatchMode down, to fix MatchContent. 2013-03-01 13:05:11 +01:00
plugin OSX: Make machtest compile on 10.9 2013-08-05 17:58:24 +02:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread QThreadPool - Add method clear() to remove queued QRunnable. 2013-08-16 15:43:53 +02:00
tools Avoided zero devision in cube root approximation 2013-07-29 19:29:15 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00