#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  |  
--------------------------------------------------+-------------------------

Comment(by nbruin):

 A simple approach would be to swap in ECL's signal handler for SIGINT upon
 entry of ECL code and swap back to the sage signal handler afterwards. The
 patch handlerswap.patch takes this approach. Unfortunately, it doesn't
 work. For some reason, the SIGINT handler we capture from ECL seems to
 just exit upon interrupt. This is not ECL's normal behaviour and the
 attached stand-alone program siginttest.c (also attached) shows that this
 approach works in principle.

 I have no idea why the same approach leads to different results in a sage
 and cython context.

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