summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-10-26 13:23:55 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-11-02 15:04:46 +0100
commit5b57ce06a8178e1d62ed9a3ebea417864e263fa6 (patch)
tree33b959f38ffef3921d7ff17a317ebaae3b673fd1 /src/corelib/thread/qthread.cpp
parent4703e07a7c4ce9e89cadb0ef1c1ef69f8ed9fb21 (diff)
Resolve corelib's remaining ### Qt 6 comments
No action taken at Qt 6, suggesting it shall never happen. Four removed, one converted to Qt 7, others converted to unversioned TODOs. Filed Jira tasks, and referenced in comments, for those retained. There remain two "once bootstrap builds are obsolete" comments and one other on which pending action may yet happen. Fixes: QTBUG-85700 Change-Id: Ib140a6a21c63370e51e4734cc591f67573a29d9a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r--src/corelib/thread/qthread.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index 5f80c73ba8..70ec71c26d 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -1025,8 +1025,6 @@ void QThread::requestInterruption()
return;
}
Q_D(QThread);
- // ### Qt 6: use std::atomic_flag, and document that
- // requestInterruption/isInterruptionRequested do not synchronize with each other
QMutexLocker locker(&d->mutex);
if (!d->running || d->finished || d->isInFinish)
return;