qt5base-lts/tests/auto/corelib
Lars Knoll d4b206b246 Split QMutex and QRecursiveMutex
These classes should not inherit from each other
anymore in Qt 6. The reason is that this makes
the 95% case of using a non-recursive mutex
much slower than it has to be.

This way, QMutex can now inline the fast path
and be pretty much as fast as QBasicMutex is
in Qt 5. They actually use the same code paths
now. The main difference is that QMutex allows
calling tryLock() with a timeout, which that
is not allowed for QBasicMutex.

[ChangeLog][QtCore][QMutex] QMutex does not support
recursive locking anymore. Use QRecursiveMutex for that
purpose. QRecursiveMutex does not inherit QMutex anymore
in Qt 6.

Change-Id: I10f9bab6269a9181a2e9f534fb72ce65bc76d989
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-10-17 12:02:56 +02:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global Add {add,sub,mul}_overflow detection when one operand is a constant 2020-09-29 14:55:48 -07:00
io Fix warning: helper functions are only used on some platforms 2020-10-16 04:44:22 +02:00
itemmodels Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
kernel Fix compile time type normalization code 2020-10-14 21:37:39 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
serialization Fix some compiler warnings from tests 2020-10-16 13:53:04 +02:00
text Fix some compiler warnings from tests 2020-10-16 13:53:04 +02:00
thread Split QMutex and QRecursiveMutex 2020-10-17 12:02:56 +02:00
time Check validity before adding to a QDateTime 2020-10-09 01:11:20 +02:00
tools Fix warning in test: unused capture in lambda 2020-10-16 13:53:03 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00