Changes between Version 17 and Version 18 of Ticket #9678


Ignore:
Timestamp:
10/18/10 20:51:58 (10 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9678 – Description

    v17 v18  
    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  * 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.
     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.
    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).