| Flutter Impeller |

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

`#include <thread.h>`

## Public Member Functions
| Lock (Mutex &mutex) IPLR_ACQUIRE(mutex)
| ~Lock () IPLR_RELEASE()

## Detailed Description

Definition at line 72 of file thread.h.

## Constructor & Destructor Documentation

## ◆ Lock()

impeller::Lock::Lock | ( | Mutex & | mutex | ) |
| inlineexplicit

Definition at line 74 of file thread.h.

74 : mutex_(mutex) {
75 mutex_.Lock();
76 }

## ◆ ~Lock()

impeller::Lock::~Lock | ( |  | ) |
| inline

Definition at line 78 of file thread.h.

78 { mutex_.Unlock(); }

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

- impeller/base/thread.h