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

## Constructor & Destructor Documentation

## ◆ ReaderLock()

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

Definition at line 70 of file thread.h.

71 : mutex_(mutex) {
72 mutex_.LockReader();
73 }

## ◆ ~ReaderLock()

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

Definition at line 75 of file thread.h.

75 { mutex_.UnlockReader(); }

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

- impeller/base/thread.h