*
* (c) The GHC Team 2005
*
- * Ticker interface (implementation is OS-specific)
+ * Interface to the OS-specific implementation of a regular time signal.
*
* ---------------------------------------------------------------------------*/
#ifndef TICKER_H
#define TICKER_H
-extern void startTicker( nat ms, TickProc handle_tick );
-extern void stopTicker ( void );
+#include "BeginPrivate.h"
+
+typedef void (*TickProc)(int);
+
+void initTicker (nat ms, TickProc handle_tick);
+void startTicker (void);
+void stopTicker (void);
+void exitTicker (rtsBool wait);
+
+#include "EndPrivate.h"
#endif /* TICKER_H */