A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::SystemMutexPrivate Class Reference

Public Member Functions

 SystemMutexPrivate ()
 
 ~SystemMutexPrivate ()
 
void Lock (void)
 
void Unlock (void)
 

Private Attributes

pthread_mutex_t m_mutex
 

Detailed Description

Definition at line 34 of file unix-system-mutex.cc.

Constructor & Destructor Documentation

ns3::SystemMutexPrivate::SystemMutexPrivate ( )

Definition at line 45 of file unix-system-mutex.cc.

References m_mutex, and NS_LOG_FUNCTION.

ns3::SystemMutexPrivate::~SystemMutexPrivate ( )

Definition at line 68 of file unix-system-mutex.cc.

References m_mutex, and NS_LOG_FUNCTION.

Member Function Documentation

void ns3::SystemMutexPrivate::Lock ( void  )

Definition at line 75 of file unix-system-mutex.cc.

References m_mutex, NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by ns3::SystemMutex::Lock().

+ Here is the caller graph for this function:

void ns3::SystemMutexPrivate::Unlock ( void  )

Definition at line 89 of file unix-system-mutex.cc.

References m_mutex, NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by ns3::SystemMutex::Unlock().

+ Here is the caller graph for this function:

Member Data Documentation

pthread_mutex_t ns3::SystemMutexPrivate::m_mutex
private

Definition at line 42 of file unix-system-mutex.cc.

Referenced by Lock(), SystemMutexPrivate(), Unlock(), and ~SystemMutexPrivate().


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