Flutter Impeller
impeller::WriterLock Class Reference

#include <thread.h>

Public Member Functions

 WriterLock (RWMutex &mutex) IPLR_ACQUIRE(mutex)
 
 ~WriterLock () IPLR_RELEASE()
 

Detailed Description

Definition at line 83 of file thread.h.

Constructor & Destructor Documentation

◆ WriterLock()

impeller::WriterLock::WriterLock ( RWMutex &  mutex)
inlineexplicit

Definition at line 85 of file thread.h.

85  : mutex_(mutex) {
86  mutex_.LockWriter();
87  }

◆ ~WriterLock()

impeller::WriterLock::~WriterLock ( )
inline

Definition at line 89 of file thread.h.

89 { mutex_.UnlockWriter(); }

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