|
|
@ -158,7 +158,6 @@ sig_handler_thread(void *arg)
|
|
|
|
sigaddset(&waitmask, SIGHUP);
|
|
|
|
sigaddset(&waitmask, SIGHUP);
|
|
|
|
sigaddset(&waitmask, SIGCHLD);
|
|
|
|
sigaddset(&waitmask, SIGCHLD);
|
|
|
|
sigaddset(&waitmask, SIGTERM);
|
|
|
|
sigaddset(&waitmask, SIGTERM);
|
|
|
|
sigaddset(&waitmask, SIGKILL);
|
|
|
|
|
|
|
|
sigaddset(&waitmask, SIGINT);
|
|
|
|
sigaddset(&waitmask, SIGINT);
|
|
|
|
|
|
|
|
|
|
|
|
// sigaddset(&waitmask, SIGFPE);
|
|
|
|
// sigaddset(&waitmask, SIGFPE);
|
|
|
@ -188,11 +187,6 @@ sig_handler_thread(void *arg)
|
|
|
|
LOG_DBG("sesman received SIGINT", 0);
|
|
|
|
LOG_DBG("sesman received SIGINT", 0);
|
|
|
|
sig_sesman_shutdown(recv_signal);
|
|
|
|
sig_sesman_shutdown(recv_signal);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case SIGKILL:
|
|
|
|
|
|
|
|
/* we die */
|
|
|
|
|
|
|
|
LOG_DBG("sesman received SIGKILL", 0);
|
|
|
|
|
|
|
|
sig_sesman_shutdown(recv_signal);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case SIGTERM:
|
|
|
|
case SIGTERM:
|
|
|
|
/* we die */
|
|
|
|
/* we die */
|
|
|
|
LOG_DBG("sesman received SIGTERM", 0);
|
|
|
|
LOG_DBG("sesman received SIGTERM", 0);
|
|
|
|