skia2/tools/trace
Herb Derby 9b86955c65 Add thread safety annotations for SkMutex
Introduce SkAutoMutexExclusive for SkMutex RAII.

Unsubclass SkMutex from SkBaseMutex to allow annotations
for class field mutexes separate from global mutexes.

Leave SkAutoMutexAcquire for handling global mutexes using
SkBaseMutex.

Test using GrSingleOwner.h.

Change-Id: I19d9d0ae0d05206cbb6ef137dc362969048c9c07
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/213136
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2019-05-13 15:44:33 +00:00
..
ChromeTracingTracer.cpp Add thread safety annotations. 2019-05-10 13:40:38 +00:00
ChromeTracingTracer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
EventTracingPriv.cpp Add thread safety annotations for SkMutex 2019-05-13 15:44:33 +00:00
EventTracingPriv.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDebugfTracer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDebugfTracer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00