Changes between Version 27 and Version 29 of Ticket #9678


Ignore:
Timestamp:
01/14/11 17:52:44 (9 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9678

    • Property Status changed from needs_work to needs_review
    • Property Milestone changed from sage-feature to sage-4.6.2
  • Ticket #9678 – Description

    v27 v29  
    33Major changes planned:
    44 * '''DONE''': make {{{sig_on()}}} have function syntax so that we can declare it {{{cdef int sig_on() except 0}}}.  See #10115 for the syntax changes.
    5  * '''DONE''': do not save signals in {{{sigsetjmp()}}} (by giving a second argument of 0 instead of 1).  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.
     5 * '''DONE''': do not save signals in {{{sigsetjmp()}}} (by giving a second argument of 0 instead of 1).  This speeds up a sig_on/sig_off loop from 382 clock cycles to 30 clock cycles on a Core(TM)2 Duo CPU T5870 @ 2.00GHz running Linux 2.6.34 glibc 2.11.2.
    66 * '''DONE''': using {{{sigaction()}}} instead of {{{signal()}}} since that has more well-defined semantics.
    77 * '''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).