signal handling in sunview

Marcus Gates marc at aplpy.jhuapl.edu
Thu May 31 05:01:13 AEST 1990


I have a sunview application which is receiving "messages" using SIGUSR1
and have observed the following strange behavior.  I am calling
notify_set_signal_func() in order to trap signal SIGUSR1 Synchronously.
The signal handling routine starts-off by calling sigsetmask (0xffffffff)
to block all other signals temporarily.  After putting a print statement
in the handler and in another routine it calls, I seem to sometimes see
the called routine print statement twice and the handlers only once which
implies that despite blocking signals the routine is getting interrupted
and restarted.  Any ideas?
				Internet: marc at aplpy.jhuapl.edu



More information about the Comp.sys.sun mailing list