| Flutter Impeller |

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

`#include <thread.h>`

## Public Member Functions
| ReaderLock (RWMutex &mutex) IPLR_ACQUIRE_SHARED(mutex)
| ~ReaderLock () IPLR_RELEASE()

## Detailed Description

Definition at line 93 of file thread.h.

## Constructor & Destructor Documentation

## ◆ ReaderLock()

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

Definition at line 95 of file thread.h.

96 : mutex_(mutex) {
97 mutex_.LockReader();
98 }

## ◆ ~ReaderLock()

impeller::ReaderLock::~ReaderLock | ( |  | ) |
| inline

Definition at line 100 of file thread.h.

100 { mutex_.UnlockReader(); }

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

- impeller/base/thread.h