Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
fml::SharedLock Class Reference

#include <shared_mutex.h>

Public Member Functions

 SharedLock (SharedMutex &shared_mutex)
 
 ~SharedLock ()
 

Detailed Description

Definition at line 23 of file shared_mutex.h.

Constructor & Destructor Documentation

◆ SharedLock()

fml::SharedLock::SharedLock ( SharedMutex shared_mutex)
inlineexplicit

Definition at line 25 of file shared_mutex.h.

25 : shared_mutex_(shared_mutex) {
26 shared_mutex_.LockShared();
27 }
virtual void LockShared()=0

◆ ~SharedLock()

fml::SharedLock::~SharedLock ( )
inline

Definition at line 29 of file shared_mutex.h.

29{ shared_mutex_.UnlockShared(); }
virtual void UnlockShared()=0

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