MPD: ScopeUnlock Class Reference

MPD 0.20.15

Public Member Functions
ScopeUnlock Class Reference

Within the scope of an instance, this class will keep a Mutex unlocked. More...

`#include <Mutex.hxx>`

## Public Member Functions
| ScopeUnlock (Mutex &_mutex)
| ~ScopeUnlock ()
| ScopeUnlock (const ScopeUnlock &other)=delete
ScopeUnlock & | operator= (const ScopeUnlock &other)=delete

## Detailed Description

Within the scope of an instance, this class will keep a Mutex unlocked.

Definition at line 51 of file Mutex.hxx.

## Constructor & Destructor Documentation

## ◆ ScopeUnlock() [1/2]

ScopeUnlock::ScopeUnlock | ( | Mutex & | _mutex | ) |
| inlineexplicit

Definition at line 55 of file Mutex.hxx.

## ◆ ~ScopeUnlock()

ScopeUnlock::~ScopeUnlock | ( |  | ) |
| inline

Definition at line 59 of file Mutex.hxx.

## ◆ ScopeUnlock() [2/2]

ScopeUnlock::ScopeUnlock | ( | const ScopeUnlock & | other | ) |
| delete

## Member Function Documentation

## ◆ operator=()

ScopeUnlock& ScopeUnlock::operator= | ( | const ScopeUnlock & | other | ) |
| delete

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

- thread/Mutex.hxx