marc@aplpy.jhuapl.edu (Marcus Gates) (05/31/90)
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@aplpy.jhuapl.edu