mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:00:12 +01:00
Added more signals to result p_clean_exit()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
2ca822c689
commit
ae1d551db4
@ -188,6 +188,11 @@ int main(int argc, char **argv){
|
|||||||
|
|
||||||
set_signal_handler(SIGINT, p_clean_exit);
|
set_signal_handler(SIGINT, p_clean_exit);
|
||||||
set_signal_handler(SIGTERM, p_clean_exit);
|
set_signal_handler(SIGTERM, p_clean_exit);
|
||||||
|
|
||||||
|
set_signal_handler(SIGKILL, p_clean_exit);
|
||||||
|
set_signal_handler(SIGSEGV, p_clean_exit);
|
||||||
|
set_signal_handler(SIGSTOP, p_clean_exit);
|
||||||
|
|
||||||
set_signal_handler(SIGALRM, check_for_client_timeout);
|
set_signal_handler(SIGALRM, check_for_client_timeout);
|
||||||
set_signal_handler(SIGHUP, initialise_configuration);
|
set_signal_handler(SIGHUP, initialise_configuration);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user