ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-signal.cc File Reference
#include "dce-signal.h"
#include "utils.h"
#include "process.h"
#include "dce-manager.h"
#include "ns3/log.h"
#include "ns3/assert.h"
#include <vector>
#include <errno.h>
+ Include dependency graph for dce-signal.cc:

Go to the source code of this file.

Functions

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)
 NS_LOG_COMPONENT_DEFINE ("SimuSignal")

Function Documentation

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:

NS_LOG_COMPONENT_DEFINE ( "SimuSignal"  )