Go to the source code of this file.
Functions | |
void | dce_abort () |
int | dce_kill (pid_t pid, int sig) |
int | dce_pthread_kill (pthread_t thread, int sig) |
int | dce_sigaction (int signum, const struct sigaction *act, struct sigaction *oldact) |
sighandler_t | dce_signal (int signum, sighandler_t handler) |
int | dce_sigprocmask (int how, const sigset_t *set, sigset_t *oldset) |
int | dce_sigwait (const sigset_t *set, int *sig) |
void dce_abort | ( | ) |
Definition at line 258 of file dce.cc.
References ns3::Current(), dce_exit(), and ns3::UtilsSendSignal().
Referenced by map_newlink().
int dce_kill | ( | pid_t | pid, |
int | sig | ||
) |
Definition at line 241 of file dce.cc.
References ns3::Current(), ns3::Thread::err, ns3::Process::manager, ns3::Thread::process, ns3::DceManager::SearchProcess(), ns3::UtilsGetNodeId(), and ns3::UtilsSendSignal().
int dce_pthread_kill | ( | pthread_t | thread, |
int | sig | ||
) |
Definition at line 382 of file dce-pthread.cc.
References ns3::Current(), ns3::Task::IsBlocked(), ns3::Process::manager, ns3::Thread::pendingSignals, ns3::Thread::process, PthreadToPid(), PthreadToTid(), ns3::DceManager::SearchThread(), ns3::Thread::signalMask, ns3::Thread::task, ns3::UtilsGetNodeId(), and ns3::DceManager::Wakeup().
int dce_sigaction | ( | int | signum, |
const struct sigaction * | act, | ||
struct sigaction * | oldact | ||
) |
Definition at line 36 of file dce-signal.cc.
References ns3::Current(), ns3::SignalHandler::flags, ns3::SignalHandler::handler, ns3::SignalHandler::mask, ns3::Thread::process, ns3::SignalHandler::sigaction, ns3::SignalHandler::signal, ns3::Process::signalHandlers, and ns3::UtilsGetNodeId().
Referenced by dce_signal().
sighandler_t dce_signal | ( | int | signum, |
sighandler_t | handler | ||
) |
Definition at line 14 of file dce-signal.cc.
References ns3::Current(), dce_sigaction(), and ns3::UtilsGetNodeId().
int dce_sigprocmask | ( | int | how, |
const sigset_t * | set, | ||
sigset_t * | oldset | ||
) |
Definition at line 117 of file dce-signal.cc.
References ns3::Current(), ns3::Thread::err, ns3::Thread::signalMask, and ns3::UtilsGetNodeId().
int dce_sigwait | ( | const sigset_t * | set, |
int * | sig | ||
) |
Definition at line 103 of file dce-signal.cc.
References ns3::Current(), ns3::Process::manager, ns3::Thread::process, ns3::UtilsGetNodeId(), and ns3::DceManager::Wait().