System V and SIGCLD

Doug Gwyn gwyn at brl-smoke.ARPA
Thu May 15 14:17:30 AEST 1986


In article <211 at altos86.altos86.UUCP> andy at altos86.UUCP (Andy Hatcher) writes:
>P.S.  I've always been told that it is a bad idea to put printfs in
>a signal handling routine.   The signal handler is called asyncronously
>and if you use stdio both inside and outside the signal handler you
>could make it very confused.

UNIX System V Release 2 tries very hard to make stdio support
usage from inside signal catchers.  I think this was a big
mistake, as it turned Dennis's clean stdio source code into
a complicated mess.



More information about the Comp.unix.wizards mailing list