![]() |
Locks/Unlocks a mutex using RAII. More...
#include <Mutex.h>
Public Member Functions | |
Locker (Mutex &mutex) | |
~Locker () | |
Private Attributes | |
Mutex & | m_mutex |
Locks/Unlocks a mutex using RAII.
Definition at line 95 of file Mutex.h.
FIX::Locker::Locker | ( | Mutex & | mutex | ) | [inline] |
FIX::Locker::~Locker | ( | ) | [inline] |
Definition at line 104 of file Mutex.h.
References m_mutex, and FIX::Mutex::unlock().
00105 { 00106 m_mutex.unlock(); 00107 }
Mutex& FIX::Locker::m_mutex [private] |