> If a "signal treatment function" is interrumped by the same kind of
> signal (so the same function is called),
If by "the same kind of signal" you really mean "the same signal", then
you may want to note that this will never happen, unless you specifically
ask for it to happen (by setting SA_NODEFER or SA_NOMASK in call to
When a handler function is invoked on a signal, that signal
is automatically blocked (in addition to any other signals
that are already in the process's signal mask) during the time
the handler is running. If you set up a handler for SIGTSTP,
for instance, then the arrival of that signal forces further
SIGTSTP signals to wait during the execution of the handler.
In order to understand recursion you must first understand recursion.