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 116 of file thread.h.

Constructor & Destructor Documentation

◆ WriterLock()

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

Definition at line 118 of file thread.h.

118  : mutex_(mutex) {
119  mutex_.LockWriter();
120  }

◆ ~WriterLock()

impeller::WriterLock::~WriterLock ( )
inline

Definition at line 122 of file thread.h.

122 { mutex_.UnlockWriter(); }

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