diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-09-25 15:40:48 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-11-12 13:00:56 +0000 |
commit | 75818581488c88454cf69e6326f5172734592729 (patch) | |
tree | cb0f14fceaadb7d327a475eff44db27cfa0f4ee1 /tests/manual | |
parent | a6a5e81cd6a627108382270c482df8a5e7939f7d (diff) |
Make QThreadPool::waitForDone more atomic
Avoid having the reset in waitForDone interfere with other uses of the
thread-pool by locking the mutex higher, and maintaining the state
so the queues doesn't have threads not in allThreads.
Task-number: QTBUG-62865
Change-Id: I17ee95d5f0e138ec15e785c6d61bb0fe064d3659
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions