blob: a39e7d69c1daba5a4a4991b2fd11e4e9419aec11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team 2005
*
* Interface to the OS-specific implementation of a regular time signal.
*
* ---------------------------------------------------------------------------*/
#ifndef TICKER_H
#define TICKER_H
typedef void (*TickProc)(int);
extern void initTicker (nat ms, TickProc handle_tick);
extern void startTicker (void);
extern void stopTicker (void);
extern void exitTicker (void);
#endif /* TICKER_H */
|