qt5base-lts/tests/auto/corelib/thread
Sona Kurazyan 9eb090d683 Add support for unwrapping QFuture<QFuture<T>>
Added QFuture::unwrap() for unwrapping the future nested inside
QFuture<QFuture<T>>. QTBUG-86725 suggests doing the unwrapping
automatically inside .then(), but this will change the return type
of .then() that used to return QFuture<QFuture<T>> and might cause
SC breaks. Apart from that, QFuture::unwrap() might be helpful in
general, for asynchronous computations that return a nested QFuture.

[ChangeLog][QtCore][QFuture] Added QFuture::unwrap() for unwrapping the
future nested inside QFuture<QFuture<T>>.

Task-number: QTBUG-86725
Change-Id: I8886743aca261dca46f62d9dfcaead4a141d3dc4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-04-21 20:25:13 +00:00
..
qatomicint tst_QAtomicInt: do not check qlonglong alignment for x86_32 CPUs 2022-03-25 21:55:51 +01:00
qatomicinteger Remove the qmake project files 2021-01-07 15:32:28 +01:00
qatomicpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuture Add support for unwrapping QFuture<QFuture<T>> 2022-04-21 20:25:13 +00:00
qfuturesynchronizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuturewatcher Activate tst_QFutureWatcher for Android 2022-02-15 00:42:29 +01:00
qmutex tests: fix some -Wvolatile 2021-07-28 17:50:09 +02:00
qmutexlocker QMutexLocker: strenghten the locking operations 2022-03-18 05:18:28 +01:00
qpromise Always cancel unfinished QPromises on destruction 2022-03-25 08:05:12 +01:00
qreadlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qreadwritelock Skip tst_QReadWriteLock::multipleReadersLoop on QEMU 2021-09-09 21:08:42 +02:00
qresultstore Mark ResultStoreBase as final 2022-01-24 20:54:36 +01:00
qsemaphore QSemaphore: add <chrono> overload of tryAcquire() 2021-06-30 23:48:21 +02:00
qthread QThread::create(): request interruption and join on destruction 2021-12-07 16:56:49 +01:00
qthreadonce Skip tst_qthreadonce test on QEMU 2021-07-20 16:51:51 +02:00
qthreadpool Consistently restore threadpool limit at end of tests 2021-10-22 09:43:42 +02:00
qthreadstorage Android: activate tst_QThreadStorage 2022-03-25 22:43:49 +01:00
qwaitcondition Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwritelocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: activate tst_QThreadStorage 2022-03-25 22:43:49 +01:00