Printing in signal handlers (more on ( alarm(1) == alarm(INFINITY))?

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sat Mar 23 08:23:46 AEST 1985


My recommendation is to do little more than set a flag in the signal
catcher and return.  Test this flag at appropriate places in the
main program control loop.  This is much safer than trying to do
anything useful from inside a signal catcher.



More information about the Comp.unix.wizards mailing list