![]() |
Does the opposite of the Locker to ensure mutex ends up in a locked state. More...
#include <Mutex.h>
Public Member Functions | |
ReverseLocker (Mutex &mutex) | |
~ReverseLocker () | |
Private Attributes | |
Mutex & | m_mutex |
Does the opposite of the Locker to ensure mutex ends up in a locked state.
Definition at line 113 of file Mutex.h.
FIX::ReverseLocker::ReverseLocker | ( | Mutex & | mutex | ) | [inline] |
FIX::ReverseLocker::~ReverseLocker | ( | ) | [inline] |
Definition at line 122 of file Mutex.h.
References FIX::Mutex::lock(), and m_mutex.
00123 { 00124 m_mutex.lock(); 00125 }
Mutex& FIX::ReverseLocker::m_mutex [private] |
Definition at line 127 of file Mutex.h.
Referenced by ReverseLocker(), and ~ReverseLocker().