Big Fun with Sys V signal handling

Doug Gwyn gwyn at brl-smoke.ARPA
Fri Jul 29 15:36:22 AEST 1988


In article <482 at paisano.UUCP> demasi at paisano.UUCP (Michael C. De Masi) writes:
>This is, I guess, more of a general question than I usually
>post.  Can anybody out there point me towards a generalized
>text on strategies to process signals in a full screen run
>time unix environment?  Several applications around here
>are having great troubles with the concepts involved here,
>and it's hard to give them hard and fast rules that have
>any meaning to their plight.

Rule #1:  In your signal handler, just set a flag and resume.
	Have the main program loop test the flag at appropriate
	points.  Don't try to do anything useful in the signal
	handler itself.

Rule #2:  Follow rule #1.



More information about the Comp.unix.wizards mailing list