diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-04-10 12:29:47 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-04-11 23:26:01 +0200 |
commit | b2233f19c9be9b87f4a49a4169aab6f5e7617563 (patch) | |
tree | 134f283d5efd27d02e461a9405ff6ea26ab0c347 /tests/auto/network/ssl | |
parent | e9962537743333059b4857ce63e9888cb9591774 (diff) |
Annotate QMutex with TSAN annotations
The Q(Basic)Mutex fast paths are entirely inline in the caller, which
means we need to annotate its operations directly or TSAN doesn't know
what's going on. Also annotate QRecursiveMutex.
The tryLock code could be in principle simplified via a QScopeGuard
but I didn't want to make a central class like QMutex depend on it.
[ChangeLog][QtCore][QMutex] QMutex now has annotations for
ThreadSanitizer.
Change-Id: Ibb130404e63a5ec9bcef9675f9addd16a2c38b7f
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/network/ssl')
0 files changed, 0 insertions, 0 deletions