FastUIDraw
Public Member Functions | List of all members
fastuidraw::Mutex::Guard Class Reference

#include <mutex.hpp>

Inheritance diagram for fastuidraw::Mutex::Guard:
Inheritance graph
[legend]

Public Member Functions

 Guard (Mutex &m)
 

Detailed Description

Guard locks a mutex on ctor and unlock the mutex on dtor.

Definition at line 40 of file mutex.hpp.

Constructor & Destructor Documentation

◆ Guard()

fastuidraw::Mutex::Guard::Guard ( Mutex &  m)
inlineexplicit

Ctor.

Parameters
mmutex is locked on ctor and unlocked on dtor.

Definition at line 48 of file mutex.hpp.


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