#9678: Rewrite interrupt handling
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  tba                        
       Type:  task            |      Status:  new                        
   Priority:  major           |   Milestone:  sage-feature               
  Component:  c_lib           |    Keywords:  interrupt, error, c, cython
     Author:  Jeroen Demeyer  |    Upstream:  N/A                        
   Reviewer:                  |      Merged:                             
Work_issues:                  |  
------------------------------+---------------------------------------------
Description changed by jdemeyer:

Old description:

> There are lots of things to be improved in the interrupt handling
> routines in c_lib/src/interrupt.c and c_lib/include/interrupt.h.
>
> There also seems to be a lot of old, unused code which should be cleaned
> up.
>
> TODO: an interface for more general errors which are not signals (and use
> it for PARI, see #9640).
>
> For testing, see the separate ticket #10030.
>
> Related tickets:
>  * #9564 (libsingular exponentiation can not be interrupted)
>  * #7879 (Remove unnecessary signal handling for low prec mpfr
> operations) --- hopefully {{{_sig_on}}} and {{{_sig_off}}} can be made
> very fast such that this shouldn't be an issue anymore.
>  * #10018 (Unhandled SIGSEGV after bnfcertify())
>  * #7794 ({{{PolynomialRing_integral_domain}}} ignores Ctrl-C and
> segfaults)

New description:

 There are lots of things to be improved in the interrupt handling routines
 in c_lib/src/interrupt.c and c_lib/include/interrupt.h.

 There also seems to be a lot of old, unused code which should be cleaned
 up.

 TODO: an interface for more general errors which are not signals (and use
 it for PARI, see #9640).

 For testing, see the separate ticket #10030.

 Related tickets:
  * #9564 (libsingular exponentiation can not be interrupted)
  * #7879 (Remove unnecessary signal handling for low prec mpfr operations)
 --- hopefully {{{_sig_on}}} and {{{_sig_off}}} can be made very fast such
 that this shouldn't be an issue anymore.
  * #10018 (Unhandled SIGSEGV after bnfcertify())
  * #7794 ({{{PolynomialRing_integral_domain}}} ignores Ctrl-C and
 segfaults)
  * #5313 (patch singular so that when it runs out of memory the error
 message says "singular" in it)

--

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