Searched refs:sig_action (Results 1 – 2 of 2) sorted by relevance
21 static struct sigaction *sig_action; variable42 SAFE_SIGACTION(SIGNAL, sig_action, NULL); in handle_thread()76 sig_action = SAFE_MALLOC(sizeof(struct sigaction)); in setup()78 memset(sig_action, 0, sizeof(*sig_action)); in setup()79 sig_action->sa_sigaction = received_signal; in setup()80 sig_action->sa_flags = SA_SIGINFO; in setup()95 free(sig_action); in cleanup()
28 static struct sigaction *sig_action; variable51 ret = sigaction(SIGNAL, sig_action, NULL); in handle_thread()83 sig_action = SAFE_MALLOC(sizeof(struct sigaction)); in setup()85 memset(sig_action, 0, sizeof(*sig_action)); in setup()86 sig_action->sa_sigaction = received_signal; in setup()87 sig_action->sa_flags = SA_SIGINFO; in setup()103 free(sig_action); in cleanup()