How do you catch a signal without terminating the process ?
Kevin L. McBride
klm at gozer.UUCP
Wed Jun 26 02:28:40 AEST 1991
In article <16410 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>In article <1991Jun13.160901.3715 at gozer.UUCP> klm at gozer.UUCP (Kevin L. McBride) writes:
>>Remember, never re-enable an interrupt until the condition that caused
>>the interrupt has been cleared.
>UNIX signals are not interrupts.
Yes, I am aware of this. I was generalizing. However, SIGCLD/SIGCHLD
behaves in this context as if it were an interrupt in that it will be
reissued immediately if not cleared before being re-enabled.
>Worse, SIGCHLD/SIGCLD is not even a UNIX signal, it's an abomination.
Agreed, albeit a useful one.
--
Kevin L. McBride DoD // Just say NO to the war on your freedom which,
President #0348 // by the way, is being fought with YOUR money.
MSCG, Inc. \\ // Let them know you've had enough.
uunet!wang!gozer!klm \X/ Vote Libertarian.
More information about the Comp.unix.wizards
mailing list