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

## Constructor & Destructor Documentation

## ◆ WriterLock()

impeller::WriterLock::WriterLock | ( | RWMutex & | mutex | ) |
| inline explicit

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:

- impeller/base/thread.h