[Ecls-list] Handling unix "signals"

Juan Jose Garcia-Ripoll worm at arrakis.es
Thu Nov 13 00:49:03 UTC 2003

On Thursday 13 November 2003 03:39, Robert Lehr wrote:
> I didn't realize that a segv would trigger an >>exception<<

That should read "CONDITION" using the lisp speak :-)

> What other
> signals are caught?  How will it interfere with ECL for my app to
> register its own signal-handlers?

All "bad" signals are caught, but you can deactivated the handler using 
(SI::UNCATCH-BAD-SIGNALS) or si_uncatch_bad_signals().

The problem with the current handler is that it does not use a precise type of 
condition. It just signals a SIMPLE-CONDITION. I should figure out a better 
type, so that you can set up a HANDLER-CASE around your toplevel.

[To the list: Does anybody know how it is done in other lisps?]



More information about the ecl-devel mailing list