diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2021-02-24 14:58:09 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2021-02-25 16:08:43 +0100 |
commit | 5a3bbb55851b84aa6a46c23e5a6fb33b4860edc6 (patch) | |
tree | 4de8ac415b407c44f97989c15287415b7ec0ffab /INSTALL | |
parent | 5624b35d6514c5439b9d6dc639dc71228ca7b5ca (diff) |
tst_QFuture::continuationsWithContext: fix the flakiness
When attaching a continuation with the default (QtFuture::Launch::Sync)
policy, it will be launched in the same thread where the parent has
been executing, or in the thread where the parent lives, if the
continuation is attached after the parent has already finished. Fixed
the test-case to make sure the continuations are attached while the
parent is still running, so that they can be resolved in the parent's
context.
Fixes: QTBUG-91373
Pick-to: 6.1
Change-Id: I82b3b0c47b76d121b44bd512659c08b3b474e351
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions