ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-signal.h File Reference
#include "dce-clock.h"
#include "dce-pthread.h"
#include <signal.h>
#include <stdint.h>
+ Include dependency graph for dce-signal.h:
+ This graph shows which files directly or indirectly include this file:

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)

Function Documentation

void dce_abort ( )

Definition at line 258 of file dce.cc.

References ns3::Current(), dce_exit(), and ns3::UtilsSendSignal().

Referenced by map_newlink().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dce_kill ( pid_t  pid,
int  sig 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function: