19 constexpr SkMutex() =
default;
22 this->assertNotHeld();
40 void assertNotHeld() {
class SK_CAPABILITY("mutex") SkMutex
#define SK_SCOPED_CAPABILITY
#define SK_RELEASE_CAPABILITY(...)
#define SK_ASSERT_CAPABILITY(x)
SkThreadID SkGetThreadID()
const SkThreadID kIllegalThreadID
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
~SkAutoMutexExclusive() SK_RELEASE_CAPABILITY()
SkAutoMutexExclusive(SkAutoMutexExclusive &&)=delete
SkAutoMutexExclusive & operator=(SkAutoMutexExclusive &&)=delete
SkAutoMutexExclusive(const SkAutoMutexExclusive &)=delete
SkAutoMutexExclusive & operator=(const SkAutoMutexExclusive &)=delete
SkAutoMutexExclusive(SkMutex &mutex) SK_ACQUIRE(mutex)