5 ms·Indeed, "volatile sig_atomic_t" is the recommended official C way to change a flag from a signal handler.by andreyv 7y agoIndeed, "volatile sig_atomic_t" is the recommended official C way to change a flag from a signal handler.