46 static struct sigaction act;
50 sigfillset(&(act.sa_mask));
53 sigaction(SIGTERM, &act,
nullptr);
63 static struct sigaction act;
65 act.sa_handler = SIG_DFL;
67 sigfillset(&(act.sa_mask));
69 sigaction(SIGTERM, &act,
nullptr);
int kill(pid_t pid, int sig)
void remove_signal_catcher()
void install_signal_catcher()
void register_child(pid_t pid)
void signal_catcher(int sig)
#define PRECONDITION(CONDITION)