ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-signal.h
Go to the documentation of this file.
1 #ifndef SIMU_SIGNAL_H
2 #define SIMU_SIGNAL_H
3 
4 #include "dce-clock.h"
5 #include "dce-pthread.h"
6 #include <signal.h>
7 #include <stdint.h>
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 sighandler_t dce_signal (int signum, sighandler_t handler);
14 int dce_sigaction (int signum, const struct sigaction *act,
15  struct sigaction *oldact);
16 int dce_kill (pid_t pid, int sig);
17 int dce_pthread_kill (pthread_t thread, int sig);
18 void dce_abort ();
19 int dce_sigprocmask (int how, const sigset_t *set, sigset_t *oldset);
20 int dce_sigwait (const sigset_t *set, int *sig);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 
27 #endif /* SIMU_SIGNAL_H */