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

## Constructor & Destructor Documentation

## ◆ ReaderLock()

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

Definition at line 94 of file thread.h.

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

## ◆ ~ReaderLock()

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

Definition at line 99 of file thread.h.

99 { mutex_.UnlockReader(); }

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

- impeller/base/thread.h