diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-04-22 14:33:17 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-01 12:01:21 +0200 |
commit | 9a6c653eaf22f604289a02c844af3bc5880605e1 (patch) | |
tree | 137eef7af8da14ad3f62a3580668756a543b8457 /src/plugins/platforms | |
parent | 2fea6bbe8e822b3fb59a7f74c0165e7a8aeb727a (diff) |
Cleanup of qthreadpool
Don't bother overwaiting in waitForDone(), if it was done at one point
after it was called we can return true. And do not stop threads recently
awakened by a startThread call as they have tasks to do.
Make allowing at least one thread regardless of reservation more
standard instead of hacked in certain places.
Pick-to: 6.2
Change-Id: I304bcdc5822f440d5e72fc33ba2aa1678c9ba0d0
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions