1 #ifndef art_Utilities_UnixSignalHandlers_h 2 #define art_Utilities_UnixSignalHandlers_h 24 using CFUNC = void (*)(int, siginfo_t*,
void*);
std::atomic< int > shutdown_flag
void disableSignal(sigset_t *newset, const int signum)
void reenableSigs(sigset_t *oldset)
void disableAllSigs(sigset_t *oldset)
void setupSignals(bool want_sigint_enabled)
void ep_sigusr2(int which, siginfo_t *, void *)
void(*)(int, siginfo_t *, void *) CFUNC
void installCustomHandler(const int signum, CFUNC func)
void enableSignal(sigset_t *newset, const int signum)
void installSig(const int signum, CFUNC func)