qt5base-lts/tests/auto/corelib
Andrei Golubev 385f0732d9 Add QPromise implementation
QPromise and QFuture created from it share the same internal state
(namely, QFutureInterface object). QPromise provides high-level
management of the shared resource, ensuring thread-safe behavior
on construction and destruction (also taking into account
QFuture::waitForFinished() semantics).

QFuture acts as a primary controller of QPromise via action
initiating methods such as suspend() or cancel(). QPromise is
equipped with methods to check the status, but the actual
handling of QFuture action "requests" is user-defined.

[ChangeLog][QtCore][QPromise] Added QPromise class to accompany
QFuture. It allows one to communicate computation results and
progress to the QFuture via a shared state.

Task-number: QTBUG-81586
Change-Id: Ibab9681d35fe63754bf394ad0e7923e2683e2457
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-06-09 17:21:38 +03:00
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Streamline the code in the conversion to and from utf8 2020-05-14 07:51:45 +02:00
global Remove winrt 2020-06-06 20:25:49 +02:00
io Remove winrt 2020-06-06 20:25:49 +02:00
itemmodels Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00
kernel Remove winrt 2020-06-06 20:25:49 +02:00
mimetypes QMimeType::suffixForFileName shouldn't lowercase the file suffix 2020-06-01 13:36:05 +02:00
plugin CMake: Fix failing plugin tests on MinGW 2020-06-09 09:34:17 +02:00
serialization Remove winrt 2020-06-06 20:25:49 +02:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text Implement first/last/from and slice() for string-like classes 2020-06-08 13:17:32 +02:00
thread Add QPromise implementation 2020-06-09 17:21:38 +03:00
time Remove winrt 2020-06-06 20:25:49 +02:00
tools Stabilize autotest 2020-06-01 20:57:55 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00