#include <waiter.h>
Collaboration diagram for ns3::Waiter:Public Types | |
| enum | Result { INTERRUPTED, TIMEOUT, OK } |
Public Member Functions | |
| Waiter () | |
| ~Waiter () | |
| Time | GetTimeoutLeft (void) const |
| void | SetTimeout (Time timeout) |
| Waiter::Result | Wait (void) |
| bool | WaitDoSignal (void) |
| void | Wakeup (void) |
Private Attributes | |
| Time | m_timeout |
| Thread * | m_waiting |
| enum ns3::Waiter::Result |
| Time ns3::Waiter::GetTimeoutLeft | ( | void | ) | const |
| void ns3::Waiter::SetTimeout | ( | Time | timeout | ) |
| Waiter::Result ns3::Waiter::Wait | ( | void | ) |
Definition at line 59 of file waiter.cc.
References ns3::Current(), ns3::HasPendingSignal(), INTERRUPTED, m_timeout, m_waiting, ns3::Process::manager, OK, ns3::Thread::process, TIMEOUT, and ns3::DceManager::Wait().
Referenced by WaitDoSignal().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ns3::Waiter::WaitDoSignal | ( | void | ) |
Definition at line 86 of file waiter.cc.
References ns3::Current(), ns3::Thread::err, INTERRUPTED, OK, TIMEOUT, ns3::UtilsDoSignal(), and Wait().
Referenced by dce_waitpid().
Here is the call graph for this function:
Here is the caller graph for this function:| void ns3::Waiter::Wakeup | ( | void | ) |
Definition at line 109 of file waiter.cc.
References ns3::Task::IsActive(), ns3::Task::IsBlocked(), m_waiting, ns3::Process::manager, ns3::Thread::process, ns3::Thread::task, and ns3::DceManager::Wakeup().
Referenced by ns3::DceManager::WakeupChildWaiters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 60 of file waiter.h.
Referenced by GetTimeoutLeft(), SetTimeout(), and Wait().
|
private |