Changes between Version 15 and Version 16 of Ticket #9678


Ignore:
Timestamp:
10/17/10 17:01:43 (10 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9678 – Description

    v15 v16  
    55 * using {{{setjmp()}}} instead of {{{sigsetjmp()}}}.  This speeds up a sig_on/sig_off loop from 382 clock cycles to 24 clock cycles on a Core(TM)2 Duo CPU T5870 @ 2.00GHz running Linux 2.6.32 glibc 2.11.2.
    66 * '''DONE''': using {{{sigaction()}}} instead of {{{signal()}}} since that has more well-defined semantics.
     7 * '''DONE''': handle SIGINT differently from other signals (other signals are urgent and cannot be ignored.  SIGINT on the other hand does not need to handled immediately, but we have to be careful for race conditions).
    78 * '''DONE''': allow {{{sig_on()}}} and {{{sig_off()}}} to be nested.
    89 * have an interface for more general errors which are not signals.
     
    1213 * '''IN PROGRESS''': documentation: #10109.
    1314 * allow to temporarily suspend interrupts and do this in {{{sage_malloc()}}} and friends (an interrupt during {{{malloc()}}} will mess up the heap, this happens sometimes with a "fixed"  #9564!)
    14  * eliminate race conditions as much as possible, like a SIGINT arriving before {{{sig_on()}}} was called.
     15 * eliminate race conditions as much as possible, like a SIGINT arriving before {{{sig_on()}}} or during {{{sig_on()}}}.
    1516
    1617Other related tickets:
     18 * #9893 (Make PARI *not* catch signals)
    1719 * #800 (make _sig_on and _sig_off faster when stacked)
    1820 * #9640 (Change PARI error catching mechanism)
     
    2325 * #5313 (patch singular so that when it runs out of memory the error message says "singular" in it)
    2426 * #3423 (Make Pari error messages more informative)
     27 * #10126 (Fix error handing in Matrix_rational_dense._invert_pari())
    2528
    26 Dependency: #10115, #9893
     29Dependencies: #10115, #9893