qt5base-lts/tests/auto/corelib
Corentin Jabot 5a02d30a78 Add an advisory interruption mechanism to QThread.
To ease interruption of long running tasks, a new method
QThread::setInterruptionRequested() can be called.
The task can check QThread::isInterruptionRequested()
and act upon it by stopping itself.

These methods are designed to replace the use of a global variable
and other hacky ways to stop a task running in another thread.

Change-Id: I17622dd60d2262078210e7e4294ad6c53a6dc179
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-09-05 08:20:18 +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 Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
io Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
itemmodels Make the QItemSelectionModel test widgets-independent. 2013-08-13 16:34:16 +02:00
json Add QJsonValue::toInt(). 2013-08-27 08:01:29 +02:00
kernel Don't assume processEvents(WaitForMoreEvents) will process timers 2013-09-05 02:32:57 +02:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin Merge remote-tracking branch 'origin/stable' into dev 2013-08-27 22:51:09 +02:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread Add an advisory interruption mechanism to QThread. 2013-09-05 08:20:18 +02:00
tools QDateTime - Add api for Time Zone Abbreviation 2013-09-03 14:31:06 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro