diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2024-03-13 16:19:40 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2024-03-15 23:16:50 +0100 |
commit | c88a1b3f37a9447961936bae4a8af1377417c64a (patch) | |
tree | 8b4919bc8b4d4e575c429c605f5a4f15c5c66f14 | |
parent | bcdc9d7059b6ecd4e0bfb44cf5a42d87c49e3edc (diff) |
QFutureInterface: remove comment that was never true
Even in the original patch where the comment was added the
callouts were made with the lock held.
Change-Id: Id8d122010d2195d83ddd4fdaf638f7fc4ac8163d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r-- | src/corelib/thread/qfutureinterface.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/thread/qfutureinterface.cpp b/src/corelib/thread/qfutureinterface.cpp index 536467b6cd..f83306af00 100644 --- a/src/corelib/thread/qfutureinterface.cpp +++ b/src/corelib/thread/qfutureinterface.cpp @@ -800,8 +800,7 @@ void QFutureInterfaceBasePrivate::sendCallOuts(const QFutureCallOutEvent &callOu // This function connects an output interface (for example a QFutureWatcher) // to this future. While holding the lock we check the state and ready results -// and add the appropriate callouts to the queue. In order to avoid deadlocks, -// the actual callouts are made at the end while not holding the lock. +// and add the appropriate callouts to the queue. void QFutureInterfaceBasePrivate::connectOutputInterface(QFutureCallOutInterface *iface) { QMutexLocker locker(&m_mutex); |