#10818: EclLib should allow signals to make LISP code interruptable
--------------------------------------------------+-------------------------
Reporter: nbruin | Owner: was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-feature
Component: interfaces | Keywords: lisp ecl
signal interrupt
Author: Nils Bruin | Upstream: N/A
Reviewer: | Merged:
Work_issues: investigate ECL interrupt handling |
--------------------------------------------------+-------------------------
Changes (by nbruin):
* status: new => needs_work
Comment:
With the patch, we can indeed interrupt ECL. We should try to do some more
critical stuff and see if ECL can get in an inconsistent state due to this
(I expect it can). Example session:
{{{
sage: from sage.libs.ecl import *
sage: ecl_eval("(setf i 0)")
<ECL: 0>
sage: inf_loop=ecl_eval("(defun infinite() (loop (incf i)))")
sage: inf_loop()
KeyboardInterrupt:
sage: ecl_eval("i")
<ECL: 5337027>
sage: ecl_eval("(infinite)")
KeyboardInterrupt:
sage: ecl_eval("i")
<ECL: 15518182>
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10818#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.