Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkAutoMutexExclusive Class Reference

#include <SkMutex.h>

Public Member Functions

 SkAutoMutexExclusive (SkMutex &mutex) SK_ACQUIRE(mutex)
 
 ~SkAutoMutexExclusive () SK_RELEASE_CAPABILITY()
 
 SkAutoMutexExclusive (const SkAutoMutexExclusive &)=delete
 
 SkAutoMutexExclusive (SkAutoMutexExclusive &&)=delete
 
SkAutoMutexExclusiveoperator= (const SkAutoMutexExclusive &)=delete
 
SkAutoMutexExclusiveoperator= (SkAutoMutexExclusive &&)=delete
 

Detailed Description

Definition at line 49 of file SkMutex.h.

Constructor & Destructor Documentation

◆ SkAutoMutexExclusive() [1/3]

SkAutoMutexExclusive::SkAutoMutexExclusive ( SkMutex &  mutex)
inline

Definition at line 51 of file SkMutex.h.

51: fMutex(mutex) { fMutex.acquire(); }

◆ ~SkAutoMutexExclusive()

SkAutoMutexExclusive::~SkAutoMutexExclusive ( )
inline

Definition at line 52 of file SkMutex.h.

52{ fMutex.release(); }

◆ SkAutoMutexExclusive() [2/3]

SkAutoMutexExclusive::SkAutoMutexExclusive ( const SkAutoMutexExclusive )
delete

◆ SkAutoMutexExclusive() [3/3]

SkAutoMutexExclusive::SkAutoMutexExclusive ( SkAutoMutexExclusive &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

SkAutoMutexExclusive & SkAutoMutexExclusive::operator= ( const SkAutoMutexExclusive )
delete

◆ operator=() [2/2]

SkAutoMutexExclusive & SkAutoMutexExclusive::operator= ( SkAutoMutexExclusive &&  )
delete

The documentation for this class was generated from the following file: