Signal catching support. More...
Functions | |
void | enable () |
Enables signal-handling. More... | |
void | handler (int signal) |
Signal handler, only sets the corresponding variable. More... | |
void | reset () |
Clears all signal-received variables. More... | |
Variables | |
std::atomic< bool > | receivedINTR {false} |
Set to true on receipt of SIGINT. More... | |
std::atomic< bool > | receivedTERM {false} |
Set to true on receipt of SIGTERM. More... | |
std::atomic< bool > | receivedUSR1 {false} |
Set to true on receipt of SIGUSR1. More... | |
std::atomic< bool > | receivedUSR2 {false} |
Set to true on receipt of SIGUSR2. More... | |
Signal catching support.