summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qobject/tst_qobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-01-09 11:00:01 +0100
committerLars Knoll <lars.knoll@qt.io>2019-02-08 21:55:41 +0000
commitaea500d5d76864bb1a3918e338ca6806e1766e41 (patch)
tree962632487f227e6ef3fa0b27ddc0e11fbcf1aa5e /tests/auto/corelib/kernel/qobject/tst_qobject.cpp
parent0e534bf8b704b8ae24b87a9b1dcb5cd829c9dd2f (diff)
Use QBasicMutex instead of QMutex in the signalSlockLock()
Add a simple private QBasicMutexLocker class, and let the QOrderedMutexLocker operate on a QBasicMutex. This allows the compiler to inline more things when handling connections and speeds up activate() a bit more. without change with change string based connect: 3621 3368 pointer based connect: 4341 3919 not connected: 433 437 disconnected: 551 538 Change-Id: If979337891178aaeb0b3340b6d4f68b6f86b0260 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qobject/tst_qobject.cpp')
0 files changed, 0 insertions, 0 deletions