Lines Matching refs:SIGTERM
287 * Install do-nothing handlers for SIGINT and SIGTERM.
296 result = handle_signal(SIGTERM, exit_action);
311 * unexpected actions for SIGHUP, SIGINT, and SIGTERM from our parent
313 * sure sigwait() works as expected. Only do this for SIGTERM and
322 result = handle_signal(SIGTERM, SIG_DFL);
332 * Block SIGHUP, SIGINT, SIGTERM.
336 * will result in all threads having SIGHUP, SIGINT and SIGTERM
343 sigaddset(&sset, SIGTERM) != 0) {
359 * Unblock SIGHUP, SIGINT, SIGTERM.
362 * SIGINT and SIGTERM are not inherited as blocked from the parent
368 sigaddset(&sset, SIGTERM) != 0) {
638 * Wait for SIGHUP, SIGINT, or SIGTERM.
643 sigaddset(&sset, SIGTERM) != 0) {
653 if (sig == SIGINT || sig == SIGTERM)
662 if (sig == SIGINT || sig == SIGTERM)
736 result = pthread_kill(main_thread, SIGTERM);
746 if (kill(getpid(), SIGTERM) < 0) {
848 sigaddset(&sset, SIGTERM) == 0);
869 sigaddset(&sset, SIGTERM) == 0);