Flutter Engine
fml::UniqueLock Class Reference

#include <shared_mutex.h>

Public Member Functions

 UniqueLock (SharedMutex &shared_mutex)
 
 ~UniqueLock ()
 

Detailed Description

Definition at line 36 of file shared_mutex.h.

Constructor & Destructor Documentation

◆ UniqueLock()

fml::UniqueLock::UniqueLock ( SharedMutex shared_mutex)
inlineexplicit

Definition at line 38 of file shared_mutex.h.

38  : shared_mutex_(shared_mutex) {
39  shared_mutex_.Lock();
40  }
virtual void Lock()=0

◆ ~UniqueLock()

fml::UniqueLock::~UniqueLock ( )
inline

Definition at line 42 of file shared_mutex.h.

42 { shared_mutex_.Unlock(); }
virtual void Unlock()=0

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