Public Member Functions | |
SystemThreadImpl (Callback< void > callback) | |
void | Start (void) |
void | Join (void) |
void | Shutdown (void) |
bool | Break (void) |
Static Private Member Functions | |
static void * | DoRun (void *arg) |
Private Attributes | |
Callback< void > | m_callback |
pthread_t | m_thread |
bool | m_break |
void * | m_ret |
Definition at line 46 of file unix-system-thread.cc.
ns3::SystemThreadImpl::SystemThreadImpl | ( | Callback< void > | callback | ) |
Definition at line 64 of file unix-system-thread.cc.
References NS_LOG_FUNCTION_NOARGS.
bool ns3::SystemThreadImpl::Break | ( | void | ) |
Definition at line 119 of file unix-system-thread.cc.
References m_break, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemThread::Break().
void * ns3::SystemThreadImpl::DoRun | ( | void * | arg | ) | [static, private] |
Definition at line 127 of file unix-system-thread.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by Start().
void ns3::SystemThreadImpl::Join | ( | void | ) |
Definition at line 93 of file unix-system-thread.cc.
References m_thread, NS_FATAL_ERROR, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemThread::Join().
void ns3::SystemThreadImpl::Shutdown | ( | void | ) |
Definition at line 107 of file unix-system-thread.cc.
References m_break, m_thread, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemThread::Shutdown().
void ns3::SystemThreadImpl::Start | ( | void | ) |
Definition at line 78 of file unix-system-thread.cc.
References DoRun(), m_thread, NS_FATAL_ERROR, and NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::SystemThread::Start().
bool ns3::SystemThreadImpl::m_break [private] |
Definition at line 60 of file unix-system-thread.cc.
Referenced by Break(), and Shutdown().
Callback<void> ns3::SystemThreadImpl::m_callback [private] |
Definition at line 58 of file unix-system-thread.cc.
void* ns3::SystemThreadImpl::m_ret [private] |
Definition at line 61 of file unix-system-thread.cc.
pthread_t ns3::SystemThreadImpl::m_thread [private] |
Definition at line 59 of file unix-system-thread.cc.
Referenced by Join(), Shutdown(), and Start().