qt5base-lts/tests/auto/corelib/thread
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
..
qatomicint Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qatomicpointer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfuture Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qfuturesynchronizer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfuturewatcher Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qmutex Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmutexlocker Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qreadlocker Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qreadwritelock Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qresultstore Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsemaphore Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qthread tst_qthread: fix race on "bool visited" 2013-03-29 15:16:47 +01:00
qthreadonce Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qthreadpool QThreadPool - Add method clear() to remove queued QRunnable. 2013-08-16 15:43:53 +02:00
qthreadstorage Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-01-23 22:12:54 +01:00
qwaitcondition Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qwritelocker Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
thread.pro Move QFutureSynchronizer back to QtCore 2012-09-28 23:50:10 +02:00