X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FTimer.c;h=013fd06594a1546209ca671054efccb6aefc17ef;hb=d283bfc1b42cd6cf4a81c56d72a71bb451dfefc6;hp=5425116ec7f5c6bbf84b935804602326ba18b7e0;hpb=47e6674f14f0b414bbb3f37ffff8749302e0f4b2;p=ghc-hetmet.git diff --git a/ghc/rts/Timer.c b/ghc/rts/Timer.c index 5425116..013fd06 100644 --- a/ghc/rts/Timer.c +++ b/ghc/rts/Timer.c @@ -35,6 +35,7 @@ static int ticks_to_ctxt_switch = 0; * At each occurrence of a tick, the OS timer will invoke * handle_tick(). */ +static void handle_tick(int unused STG_UNUSED) { @@ -57,7 +58,7 @@ startTimer(nat ms) initProfTimer(); #endif - return startTicker(ms); + return startTicker(ms, handle_tick); } int