21 #ifndef SL_LOGGER_SIGS_H
22 #define SL_LOGGER_SIGS_H
25 #include <stdatomic.h>
void signalHandlersUnblock(void)
Unblock signals that we have handlers for.
sigset_t * signalHandlerMask(void)
Return a signal mask with suitable defaults.
void signalHandlersInstall(void)
Install signal handlers.
void signalHandlersBlock(void)
Block signals that we have handlers for.
void signalShutdown(int signnum)
Set safe shutdown flag.
void signalRotate(int signnum)
Set log rotate flag.
void signalPause(int signnum)
Set logger pause flag.
atomic_bool pauseLog
Pause logging.
atomic_bool rotateNow
Trigger immediate log rotation.
void signalUnpause(int signnum)
Clear logger pause flag.
atomic_bool shutdownFlag
Trigger clean software shutdown.