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

#include <SkSharedMutex.h>

Public Member Functions

 SkAutoSharedMutexShared (SkSharedMutex &lock) SK_ACQUIRE_SHARED(lock)
 
 ~SkAutoSharedMutexShared () SK_RELEASE_CAPABILITY()
 

Detailed Description

Definition at line 84 of file SkSharedMutex.h.

Constructor & Destructor Documentation

◆ SkAutoSharedMutexShared()

SkAutoSharedMutexShared::SkAutoSharedMutexShared ( SkSharedMutex &  lock)
inlineexplicit

Definition at line 86 of file SkSharedMutex.h.

87 : fLock(lock) {
88 lock.acquireShared();
89 }

◆ ~SkAutoSharedMutexShared()

SkAutoSharedMutexShared::~SkAutoSharedMutexShared ( )
inline

Definition at line 94 of file SkSharedMutex.h.

94{ fLock.releaseShared(); }

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