qt6-bb10/tests/auto/corelib/thread
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
..
qatomicint Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qatomicinteger CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qatomicpointer Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qfuture Make QPromise::addResult() return boolean status of operation 2020-10-16 09:48:10 +02:00
qfuturesynchronizer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfuturewatcher CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qmutex Split QMutex and QRecursiveMutex 2020-10-17 12:02:56 +02:00
qmutexlocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qpromise Rename QPromise starting and finishing methods to start and finish 2020-10-16 09:48:10 +02:00
qreadlocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qreadwritelock Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qresultstore Clear pending results in ResultStore 2020-10-09 16:26:01 +02:00
qsemaphore Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qthread Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qthreadonce CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qthreadpool Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qthreadstorage CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qwaitcondition CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qwritelocker CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Skip / ignore failing tests on CMake platforms 2020-07-01 14:55:29 +02:00
CMakeLists.txt CMake: Skip / ignore failing tests on CMake platforms 2020-07-01 14:55:29 +02:00
thread.pro Add QPromise implementation 2020-06-09 17:21:38 +03:00