X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FTimer.h;h=b03ef0680f1186043dd99c95c1ef806130942689;hp=6d3c4150b091846c87b5d5c701bab537cf5945dc;hb=cd47700887365ca2a6af17d03e731efce65cf2ac;hpb=e30aca19def5c629a8429bd57e56535b7f8f85c8 diff --git a/rts/Timer.h b/rts/Timer.h index 6d3c415..b03ef06 100644 --- a/rts/Timer.h +++ b/rts/Timer.h @@ -2,16 +2,14 @@ * * (c) The GHC Team, 1995-2006 * - * Interval timer service for profiling and pre-emptive scheduling. + * Interface to the RTS timer signal (uses OS-dependent Ticker.h underneath) * * ---------------------------------------------------------------------------*/ #ifndef TIMER_H #define TIMER_H -typedef void (*TickProc)(int); - -extern void startTimer(void); -extern void stopTimer(void); +RTS_PRIVATE void initTimer (void); +RTS_PRIVATE void exitTimer (rtsBool wait); #endif /* TIMER_H */