Flutter Engine
fml::SharedMutexStd Class Reference

#include <shared_mutex_std.h>

Inheritance diagram for fml::SharedMutexStd:
fml::SharedMutex

Public Member Functions

virtual void Lock ()
 
virtual void LockShared ()
 
virtual void Unlock ()
 
virtual void UnlockShared ()
 
- Public Member Functions inherited from fml::SharedMutex
virtual ~SharedMutex ()=default
 

Friends

SharedMutexSharedMutex::Create ()
 

Additional Inherited Members

- Static Public Member Functions inherited from fml::SharedMutex
static SharedMutexCreate ()
 

Detailed Description

Definition at line 14 of file shared_mutex_std.h.

Member Function Documentation

◆ Lock()

void fml::SharedMutexStd::Lock ( )
virtual

Implements fml::SharedMutex.

Definition at line 13 of file shared_mutex_std.cc.

13  {
14  mutex_.lock();
15 }

◆ LockShared()

void fml::SharedMutexStd::LockShared ( )
virtual

Implements fml::SharedMutex.

Definition at line 17 of file shared_mutex_std.cc.

17  {
18  mutex_.lock_shared();
19 }

◆ Unlock()

void fml::SharedMutexStd::Unlock ( )
virtual

Implements fml::SharedMutex.

Definition at line 21 of file shared_mutex_std.cc.

21  {
22  mutex_.unlock();
23 }

◆ UnlockShared()

void fml::SharedMutexStd::UnlockShared ( )
virtual

Implements fml::SharedMutex.

Definition at line 25 of file shared_mutex_std.cc.

25  {
26  mutex_.unlock_shared();
27 }

Friends And Related Function Documentation

◆ SharedMutex::Create


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