Lines Matching refs:SIGTERM
160 * Install do-nothing handlers for SIGINT and SIGTERM.
169 result = handle_signal(SIGTERM, exit_action);
184 * unexpected actions for SIGHUP, SIGINT, and SIGTERM from our parent
186 * sure sigwait() works as expected. Only do this for SIGTERM and
195 result = handle_signal(SIGTERM, SIG_DFL);
205 * Block SIGHUP, SIGINT, SIGTERM.
209 * will result in all threads having SIGHUP, SIGINT and SIGTERM
216 sigaddset(&sset, SIGTERM) != 0) {
232 * Unblock SIGHUP, SIGINT, SIGTERM.
235 * SIGINT and SIGTERM are not inherited as blocked from the parent
241 sigaddset(&sset, SIGTERM) != 0) {
491 * Wait for SIGHUP, SIGINT, or SIGTERM.
496 sigaddset(&sset, SIGTERM) != 0) {
507 sig == SIGTERM)
517 sig == SIGTERM)
579 result = pthread_kill(main_thread, SIGTERM);
588 if (kill(getpid(), SIGTERM) < 0) {
660 sigaddset(&sset, SIGTERM) == 0);
681 sigaddset(&sset, SIGTERM) == 0);