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

## Constructor & Destructor Documentation

## ◆ Lock()

impeller::Lock::Lock | ( | Mutex & | mutex | ) |
| inline explicit

Definition at line 56 of file thread.h.

56 : mutex_(mutex) {
57 mutex_.Lock();
58 }

## ◆ ~Lock()

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

Definition at line 60 of file thread.h.

60 { mutex_.Unlock(); }

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

- impeller/base/thread.h