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

## Constructor & Destructor Documentation

## ◆ WriterLock()

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

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:

- impeller/base/thread.h