Searched refs:old_sigterm_handler (Results 1 – 2 of 2) sorted by relevance
565 static SIGHANDLER_T old_sigterm_handler = SIG_ERR; variable764 old_sigterm_handler = signal(SIGTERM, exit_signal_handler); in install_signal_handlers()765 if(old_sigterm_handler == SIG_ERR) in install_signal_handlers()813 if(SIG_ERR != old_sigterm_handler) in restore_signal_handlers()814 (void)signal(SIGTERM, old_sigterm_handler); in restore_signal_handlers()
117 const auto old_sigterm_handler = std::signal(SIGTERM, &OnReceivedSignal); in RunUntilSignaled() local122 std::signal(SIGTERM, old_sigterm_handler); in RunUntilSignaled()