qt6-bb10/tests/auto/corelib/thread
Morten Johan Sørvig 6faa4d4a87 QFuture: Wait for result on iterator advance
Wait for the result at the target index if the future
is running and the iterator index is past the current
result count.

Determine if there is a result at the target index
after waitForResult() returns, and return -1/end if
not.

Also support decrementing the end iterator. In this
case wait for the future to finish in order to get
the final result count.

Task-number: QTBUG-59811
Change-Id: I8fcc711bab2e72c3c5196a55b794d25e18bb324d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2019-05-13 10:41:25 +02:00
..
qatomicint Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qatomicinteger Replace qMove with std::move 2019-04-06 11:00:38 +00:00
qatomicpointer Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qfuture QFuture: Wait for result on iterator advance 2019-05-13 10:41:25 +02:00
qfuturesynchronizer Drop unnecessary dependencies from some tests 2017-01-10 16:34:52 +00:00
qfuturewatcher tst_QFutureWatcher: Avoid unconditional qWait()s 2018-04-03 10:20:27 +00:00
qmutex tst_QMutex: produce less noise with MSVC 2017-09-01 16:36:17 +00:00
qmutexlocker Updated license headers 2016-01-21 18:55:18 +00:00
qreadlocker Updated license headers 2016-01-21 18:55:18 +00:00
qreadwritelock Updated license headers 2016-01-21 18:55:18 +00:00
qresultstore Fix UB in QFutureInterface: invalid casts from ResultStoreBase to ResultStore<> 2017-03-06 18:32:28 +00:00
qsemaphore Extend blacklisting of QSemaphore tests to macOS 10.13 2018-06-11 15:07:00 +00:00
qthread Fix memory leak in auto test 2019-03-29 13:46:51 +00:00
qthreadonce Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qthreadpool Fix memory leak in auto test 2019-03-29 13:46:56 +00:00
qthreadstorage Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qwaitcondition Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qwritelocker Updated license headers 2016-01-21 18:55:18 +00:00
thread.pro Re-enable thread autotests 2018-09-25 22:35:40 +00:00