cc0be95ac7
Test runWithPromise with "then" and "onCanceled" handlers. Test the case when QFuture::cancel() is being called when the task's thread already started, so that a call to QPromise::isCanceled() from inside the running thread returns different values in the same task's run. This nicely proves that communication between QFuture and QPromise works between different threads. Task-number: QTBUG-84868 Change-Id: Icb2e0b1f99e2dcd919d881515f1ccd08e2f25b8c Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> |
||
---|---|---|
.. | ||
qtconcurrentfilter | ||
qtconcurrentiteratekernel | ||
qtconcurrentmap | ||
qtconcurrentmedian | ||
qtconcurrentrun | ||
qtconcurrenttask | ||
qtconcurrentthreadengine | ||
CMakeLists.txt | ||
concurrent.pro | ||
testhelper_functions.h |