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

## Constructor & Destructor Documentation

## ◆ ReaderLock()

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

Definition at line 97 of file thread.h.

98 : mutex_(mutex) {
99 mutex_.LockReader();
100 }

## ◆ ~ReaderLock()

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

Definition at line 102 of file thread.h.

102 { mutex_.UnlockReader(); }

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

- impeller/base/thread.h