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 32 of file unix-system-condition.cc.
ns3::SystemConditionPrivate::SystemConditionPrivate | ( | ) |
Definition at line 52 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION.
ns3::SystemConditionPrivate::~SystemConditionPrivate | ( | ) |
Definition at line 77 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION.
void ns3::SystemConditionPrivate::Broadcast | ( | void | ) |
Definition at line 109 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION.
Referenced by ns3::SystemCondition::Broadcast().
bool ns3::SystemConditionPrivate::GetCondition | ( | void | ) |
Definition at line 92 of file unix-system-condition.cc.
References m_condition, and NS_LOG_FUNCTION.
Referenced by ns3::SystemCondition::GetCondition().
void ns3::SystemConditionPrivate::SetCondition | ( | bool | condition | ) |
Definition at line 85 of file unix-system-condition.cc.
References m_condition, and NS_LOG_FUNCTION.
Referenced by ns3::SystemCondition::SetCondition().
void ns3::SystemConditionPrivate::Signal | ( | void | ) |
Definition at line 99 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION.
Referenced by ns3::SystemCondition::Signal().
bool ns3::SystemConditionPrivate::TimedWait | ( | uint64_t | ns | ) |
Definition at line 133 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, NS_LOG_FUNCTION, and NS_PER_SEC.
Referenced by ns3::SystemCondition::TimedWait().
void ns3::SystemConditionPrivate::Wait | ( | void | ) |
Definition at line 119 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION.
Referenced by ns3::SystemCondition::Wait().
|
private |
Definition at line 48 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
private |
Definition at line 49 of file unix-system-condition.cc.
Referenced by GetCondition(), SetCondition(), SystemConditionPrivate(), TimedWait(), and Wait().
|
private |
Definition at line 47 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
static |
Definition at line 34 of file unix-system-condition.cc.
Referenced by TimedWait().