| Flutter Impeller |

Public Member Functions | List of all members
impeller::WriterLock Class Reference

`#include <thread.h>`

## Public Member Functions
| WriterLock (RWMutex &mutex) IPLR_ACQUIRE(mutex)
| ~WriterLock () IPLR_RELEASE()

## Detailed Description

Definition at line 113 of file thread.h.

## Constructor & Destructor Documentation

## ◆ WriterLock()

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

Definition at line 115 of file thread.h.

115 : mutex_(mutex) {
116 mutex_.LockWriter();
117 }

## ◆ ~WriterLock()

impeller::WriterLock::~WriterLock | ( |  | ) |
| inline

Definition at line 119 of file thread.h.

119 { mutex_.UnlockWriter(); }

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

- impeller/base/thread.h