Public Member Functions | |
SystemConditionPrivate () | |
~SystemConditionPrivate () | |
void | Broadcast (void) |
bool | GetCondition (void) |
void | SetCondition (bool condition) |
void | Signal (void) |
bool | TimedWait (uint64_t ns) |
void | Wait (void) |
Static Public Attributes | |
static const uint64_t | NS_PER_SEC = (uint64_t)1000000000 |
Private Attributes | |
pthread_cond_t | m_cond |
bool | m_condition |
pthread_mutex_t | m_mutex |
Definition at line 30 of file unix-system-condition.cc.
ns3::SystemConditionPrivate::SystemConditionPrivate | ( | ) |
Definition at line 50 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION_NOARGS.
ns3::SystemConditionPrivate::~SystemConditionPrivate | ( | ) |
Definition at line 75 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.
void ns3::SystemConditionPrivate::Broadcast | ( | void | ) |
Definition at line 107 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemCondition::Broadcast().
bool ns3::SystemConditionPrivate::GetCondition | ( | void | ) |
Definition at line 90 of file unix-system-condition.cc.
References m_condition, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemCondition::GetCondition().
void ns3::SystemConditionPrivate::SetCondition | ( | bool | condition | ) |
Definition at line 83 of file unix-system-condition.cc.
References m_condition, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemCondition::SetCondition().
void ns3::SystemConditionPrivate::Signal | ( | void | ) |
Definition at line 97 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemCondition::Signal().
bool ns3::SystemConditionPrivate::TimedWait | ( | uint64_t | ns | ) |
Definition at line 131 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, NS_LOG_FUNCTION_NOARGS, and NS_PER_SEC.
Referenced by ns3::SystemCondition::TimedWait().
void ns3::SystemConditionPrivate::Wait | ( | void | ) |
Definition at line 117 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemCondition::Wait().
|
private |
Definition at line 46 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
private |
Definition at line 47 of file unix-system-condition.cc.
Referenced by GetCondition(), SetCondition(), SystemConditionPrivate(), TimedWait(), and Wait().
|
private |
Definition at line 45 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
static |
Definition at line 32 of file unix-system-condition.cc.
Referenced by TimedWait().