diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-06-08 17:47:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-17 09:27:43 +0000 |
commit | b6323f0c7ba24a4ad5daa3535fcc9d6b285cfe28 (patch) | |
tree | 75b7863d5d5f9710f3539d44a79ffb1fe8e388ea /src/corelib/kernel/qiterable.h | |
parent | 32eb742b04e57a71183524dc7e9aa51e262b95d7 (diff) |
cleanOrphanedConnectionsImpl: Allow to skip locking
This function is/will be used in a few places where we already have a
lock. Temporarily unlocking and relocking invites all kinds of troubles.
By adding a flag we can instead tell the function that we already hold
the lock.
Change-Id: Ibca089de61133661d5cd75290f2a55c22c5d013c
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
(cherry picked from commit 556fc646cfac4dca43a34f5c4a4f7e6e3ef9104d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/kernel/qiterable.h')
0 files changed, 0 insertions, 0 deletions