#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, Jeroen Demeyer  |    Upstream:  N/A                   
   
   Reviewer:                              |      Merged:                        
   
Work_issues:                              |  
------------------------------------------+---------------------------------

Comment(by nbruin):

 Nice cleanup! Two questions:
  * in ecl_sig_on(), you do a sig_on() BEFORE switching to the ecl signal
 handler. That provides a window for an interrupt to still be handled by
 the SAGE handler. Is that intentional? (It might even be a good idea if
 that "clears out" the signal queue before switching to ecl handling,
 because ecl will not be aware of any signals queued by SAGE, which might
 cause them to grow stale)

  * Juanjo's suggestion
 http://sourceforge.net/mailarchive/message.php?msg_id=27127709 includes
 using some macros from ecl's header files. Can that be integrated in
 ecl_sig_on() etc? Since you are moving things to a .c file, using those
 macros will be much easier. I gave some thought on how to import those
 into cython but failed to come up with a solution.

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