#10818: EclLib should allow signals to make LISP code interruptable
--------------------------+-------------------------------------------------
   Reporter:  nbruin      |       Owner:  was                      
       Type:  defect      |      Status:  needs_review             
   Priority:  major       |   Milestone:  sage-4.7                 
  Component:  interfaces  |    Keywords:  lisp ecl signal interrupt
     Author:  Nils Bruin  |    Upstream:  N/A                      
   Reviewer:              |      Merged:                           
Work_issues:              |  
--------------------------+-------------------------------------------------

Comment(by nbruin):

 Replying to [comment:7 drkirkby]:
 > If this can leave ECL in an undefined state, and so potentially Maxima
 generate incorrect results
 I don't know if maxima is robust in the face of interrupts, but we're
 already exposed to that by letting pexpect propagate SIGINT.

 As far as I know, the present patch does not contribute to possible
 corruption of ECL. You might end up in the ECL debugger if the interrupt
 arrives between teardown of the Lisp version of try/expect and the swap of
 the interrupt handlers. This is easily distinguished from a wrong answer.

 See http://sourceforge.net/mailarchive/message.php?msg_id=27127709 for JJ
 G-P's suggestion for dealing with this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10818#comment:8>
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.

Reply via email to