79fd1cb2c6
Replace the implementation of blockingMappedReduced(): after calling non-blocking version of mappedReduced() we are getting the future object, so we may call in sequence result(), which will block and return the result when the all tasks are done. The same is done with blockigMapped(), which calls blockingMappedReduced() with a custom reduce function. Looks like with this pattern we can reuse the non-blocking version for implementing blocking version of mapped / filtered methods. Task-number: QTBUG-83918 Change-Id: I7f240cfbd04834d551ff79d717b72194a26996d7 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> |
||
---|---|---|
.. | ||
qtconcurrentfilter | ||
qtconcurrentiteratekernel | ||
qtconcurrentmap | ||
qtconcurrentmedian | ||
qtconcurrentrun | ||
qtconcurrenttask | ||
qtconcurrentthreadengine | ||
CMakeLists.txt | ||
concurrent.pro |