diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-26 23:41:40 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-06 11:22:16 +0200 |
commit | 95310aac6d38f222da5ce0ca2bd52b4afa261f13 (patch) | |
tree | edb3e7f532f4bf86c5cb358d6bf445baea28054b /src/corelib/kernel/qcoreapplication.cpp | |
parent | a393ea072982fa706bb6585295ed6c22e7cbca06 (diff) |
Short live QRecursiveMutex!
Move the recursive mutex use case out of QMutex into a separate class,
unsurprisingly called QRecursiveMutex. As an immediate benefit, 90% of
the QMutex users now enjoy a constexpr QMutex ctor.
This change prepares for a real split in Qt 6, so that both use-cases
are no longer bundled up in one class.
[ChangeLog][QtCore][QMutex] Added QRecursiveMutex as a replacement of
QMutex(QMutex::Recursive).
Change-Id: I79b8724e8a8ee65e4bd0f06acd76103fe4197b8c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions