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

#include <SkSharedMutex.h>

Public Member Functions

 SkAutoSharedMutexExclusive (SkSharedMutex &lock) SK_ACQUIRE(lock)
 
 ~SkAutoSharedMutexExclusive () SK_RELEASE_CAPABILITY()
 

Detailed Description

Definition at line 72 of file SkSharedMutex.h.

Constructor & Destructor Documentation

◆ SkAutoSharedMutexExclusive()

SkAutoSharedMutexExclusive::SkAutoSharedMutexExclusive ( SkSharedMutex &  lock)
inlineexplicit

Definition at line 74 of file SkSharedMutex.h.

75 : fLock(lock) {
76 lock.acquire();
77 }

◆ ~SkAutoSharedMutexExclusive()

SkAutoSharedMutexExclusive::~SkAutoSharedMutexExclusive ( )
inline

Definition at line 78 of file SkSharedMutex.h.

78{ fLock.release(); }

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