Changes between Version 2 and Version 3 of Commentary/Rts/Signals


Ignore:
Timestamp:
Mar 4, 2010 12:47:50 AM (4 years ago)
Author:
dons
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/Signals

    v2 v3  
    3737   * [[GhcFile(rts/win32/Ticker.c)]] 
    3838 
    39 On Posix, the timer signal is implemented by calling `setitimer()` to generate regular `SIGALRM` signals.  This isn't ideal, since we'd like to allow the application t so use `SIGALRM` if it needs to.  Ideally we should use something better (see #850). 
     39On Posix, the timer signal is implemented by calling `setitimer()` to generate regular `SIGALRM` signals (the single threaded RTS uses SIGVTALRM).  This isn't ideal, since we'd like to allow the application t so use `SIGALRM` if it needs to.  Ideally we should use something better (see #850). 
    4040 
    4141On Windows, we spawn a new thread that repeatedly sleeps for the timer interval and then executes the timer interrupt handler.