diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-14 15:52:49 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-15 07:46:01 +0000 |
commit | 9493d4764b4b4d3400b0ecfca96add85a4adc320 (patch) | |
tree | 3b989496e20d8623207063defee106e40383f3ad /LICENSE.LGPLv3 | |
parent | 67153b225f91b26f41ccbb28117c63dd9cf2586a (diff) | |
download | qt-creator-9493d4764b4b4d3400b0ecfca96add85a4adc320.tar.gz |
mapReduce/runAsync: Fix behavior of waitForFinished
When a QFutureInterface is constructed, it is in "NoState",
but waitForFinished only blocks if it is in "Running" state.
So we need to reportStarted actually before the thread is started
(so we report it before leaving the mapReduce/runAsync method)
Change-Id: I1cdf0d627c5a6c26797b04fd0d331cddb01d50af
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions