summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/qt6-changes.qdoc
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-12-14 09:05:01 +0100
committerLars Knoll <lars.knoll@qt.io>2021-01-26 10:04:11 +0100
commit92db806aa8e7c0c40b265e3cf584d4aa85fc3ba5 (patch)
tree6e358f8b89838175776e44b29e1247bd3a4865d6 /src/corelib/doc/src/qt6-changes.qdoc
parent37e26d2b3011acc86bbda1e1f46114d7c8441915 (diff)
Update QMutexLocker documentation
And add an entry about the API changes to qt6-changed.qdoc. Pick-to: 6.0 Task-number: QTBUG-89429 Change-Id: I146574acd3e4aa5ed6f1629fc68888f009472f19 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/doc/src/qt6-changes.qdoc')
-rw-r--r--src/corelib/doc/src/qt6-changes.qdoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/doc/src/qt6-changes.qdoc b/src/corelib/doc/src/qt6-changes.qdoc
index d789f42fc5..570dc45e93 100644
--- a/src/corelib/doc/src/qt6-changes.qdoc
+++ b/src/corelib/doc/src/qt6-changes.qdoc
@@ -392,6 +392,15 @@
}
\endcode
+ \section1 QMutex and Related Classes
+
+ In Qt 6, QRecursiveMutex does not inherit from QMutex anymore. This change was
+ done to improve the performance of both QMutex and QRecursiveMutex.
+
+ Due to those changes, the QMutex::RecursionMode enum has been removed, and
+ QMutexLocker is now a templated class that can operate on both QMutex and
+ QRecursiveMutex.
+
\section1 QFuture and Related Classes
\section2 QFuture