Definition in file sigminthr.c.
Go to the source code of this file.
Defines | |
#define | MAX_SIG 50 |
Functions | |
void | clean_up (void) |
void * | sig_thread (void *arg) |
void | handler (int signum) |
bool | handle_signals (void) |
void | process (void) |
int | main (void) |
|
Definition at line 134 of file sigminthr.c. |
|
Definition at line 25 of file sigminthr.c. |
|
Definition at line 85 of file sigminthr.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, ec_null, ec_rv, pthread_create(), pthread_sigmask(), sigaction::sa_handler, set(), sig_thread(), sigaction(), sigaddset(), sigemptyset(), and sigfillset(). |
|
Definition at line 80 of file sigminthr.c. |
|
Definition at line 136 of file sigminthr.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), fork(), kill(), MAX_SIG, process(), sleep(), and waitpid(). |
|
Definition at line 118 of file sigminthr.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, exit(), handle_signals(), and sleep(). |
|
Definition at line 36 of file sigminthr.c. References _exit(), clean_up(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_rv, and sigwait(). Referenced by handle_signals(). |