| GL Studio C++ Runtime API

Public Member Functions | List of all members
Mutex::ScopedLock Class Reference

A lock class to automagically un/lock a mutex within its scope. More...

`#include <gls_mutex.h>`

## Public Member Functions
| ScopedLock (Mutex &mut)
| ~ScopedLock ()
| Releases the mutex automatically.

## Detailed Description

A lock class to automagically un/lock a mutex within its scope.

## Constructor & Destructor Documentation

## ◆ ScopedLock()

ScopedLock | ( | Mutex & | mut | ) |
| inline

Lock the given mutex (blocks on failure to acquire)

Parameters

  mut | The mutex to lock.

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

- gls_mutex.h