[Ecls-list] Signaling a more specific condition on signals.
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Fri Aug 20 21:48:00 UTC 2010
On Fri, Aug 20, 2010 at 10:23 PM, Pascal J. Bourguignon <
pjb at informatimago.com> wrote:
> When a unix signal is received, ecl cl:signals a simple-error with:
> unixint.d:370: FEerror("Serious signal ~D caught.", 1,
> In this it would be better if a specific condition was signaled
> instead, so that applications could more easily handle the signal.
It's in CVS now. Slight change of names. Please report if it works for you!
(define-condition ext:unix-signal-received ()
((code :type fixnum
(:report (lambda (condition stream)
(format stream "Serious signal ~D caught."
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel