System-dependent implementation of SystemMutex. More...
Public Member Functions | |
SystemMutexPrivate () | |
~SystemMutexPrivate () | |
void | Lock (void) |
Acquire ownership of the mutex. More... | |
void | Unlock (void) |
Release ownership of the mutex. More... | |
Private Attributes | |
pthread_mutex_t | m_mutex |
The mutex. More... | |
System-dependent implementation of SystemMutex.
Definition at line 41 of file unix-system-mutex.cc.
ns3::SystemMutexPrivate::SystemMutexPrivate | ( | ) |
Definition at line 52 of file unix-system-mutex.cc.
References m_mutex, and NS_LOG_FUNCTION.
ns3::SystemMutexPrivate::~SystemMutexPrivate | ( | ) |
Definition at line 75 of file unix-system-mutex.cc.
References m_mutex, and NS_LOG_FUNCTION.
void ns3::SystemMutexPrivate::Lock | ( | void | ) |
Acquire ownership of the mutex.
Definition at line 82 of file unix-system-mutex.cc.
References m_mutex, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by ns3::SystemMutex::Lock().
void ns3::SystemMutexPrivate::Unlock | ( | void | ) |
Release ownership of the mutex.
Definition at line 96 of file unix-system-mutex.cc.
References m_mutex, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by ns3::SystemMutex::Unlock().
|
private |
The mutex.
Definition at line 49 of file unix-system-mutex.cc.
Referenced by Lock(), SystemMutexPrivate(), Unlock(), and ~SystemMutexPrivate().