#include <IPCMutex.hpp>
Public Member Functions | |
| IPCMutexLock (IPCMutex &sem) | |
| ~IPCMutexLock () | |
Private Attributes | |
| IPCMutex & | m_sem |
Example:
IPCMutex guard(1234); { IPCMutexLock mlock(guard); // critical section code; }
Note that you don't have to keep guard around, just use the same key value each time.
Definition at line 124 of file IPCMutex.hpp.
| BLOCXX_NAMESPACE::IPCMutexLock::IPCMutexLock | ( | IPCMutex & | sem | ) |
Definition at line 113 of file IPCMutex.cpp.
References m_sem, and BLOCXX_NAMESPACE::IPCMutex::wait().
| BLOCXX_NAMESPACE::IPCMutexLock::~IPCMutexLock | ( | ) |
Definition at line 120 of file IPCMutex.cpp.
References m_sem, and BLOCXX_NAMESPACE::IPCMutex::signal().
IPCMutex& BLOCXX_NAMESPACE::IPCMutexLock::m_sem [private] |
1.5.6