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 |
Conversion from ns to s. More... | |
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 53 of file unix-system-condition.cc.
References m_cond, m_condition, m_mutex, and NS_LOG_FUNCTION.
ns3::SystemConditionPrivate::~SystemConditionPrivate | ( | ) |
Definition at line 78 of file unix-system-condition.cc.
References m_cond, m_mutex, and NS_LOG_FUNCTION.
void ns3::SystemConditionPrivate::Broadcast | ( | void | ) |
Definition at line 110 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 93 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 86 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 100 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 134 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 120 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 49 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
private |
Definition at line 50 of file unix-system-condition.cc.
Referenced by GetCondition(), SetCondition(), SystemConditionPrivate(), TimedWait(), and Wait().
|
private |
Definition at line 48 of file unix-system-condition.cc.
Referenced by Broadcast(), Signal(), SystemConditionPrivate(), TimedWait(), Wait(), and ~SystemConditionPrivate().
|
static |
Conversion from ns to s.
Definition at line 35 of file unix-system-condition.cc.
Referenced by TimedWait().