On Mon, 1 Feb 1999, Alastair Reid wrote:

> What I was describing was the masking of signals that is done
> automatically when entering a signal handler and undone when exiting.
> If you never exit the handler (ie you longjmp out of the handler),
> the signal will never be reenabled.

Signals are not masked "automatically" under Linux. This behaviour
may be requested by sigaction(), but not by signal().
Hugs uses signal(), not sigaction()!

Linux (2.0.0 on i486) behaves as follows when signal() is used:
Before the signal is delivered to the user process, the signal
is reset to its default behaviour. The signal is _not_ masked
(at least for SIGINT).

(I must admit that the man-pages available to me are dated Aug-1995.
Maybe things changed.)

Best regards

Friedhelm

Reply via email to