OpenBarnyard
 
Loading...
Searching...
No Matches
T2MutexLock Class Reference

#include <T2MutexLock.h>

Public Member Functions

 T2MutexLock (T2Mutex &mutex)
 
 ~T2MutexLock ()
 

Detailed Description

Definition at line 8 of file T2MutexLock.h.

Constructor & Destructor Documentation

◆ T2MutexLock()

T2MutexLock::T2MutexLock ( T2Mutex & mutex)
inline

Definition at line 11 of file T2MutexLock.h.

12 : m_Mutex( mutex ) { m_Mutex.Lock(); }

◆ ~T2MutexLock()

T2MutexLock::~T2MutexLock ( )
inline

Definition at line 13 of file T2MutexLock.h.

13{ m_Mutex.Unlock(); }

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