Fix NUMA support on Windows (#15049)
[ghc.git] / rts / Ticker.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team 2005
4 *
5 * Interface to the OS-specific implementation of a regular time signal.
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #pragma once
10
11 #include "BeginPrivate.h"
12
13 typedef void (*TickProc)(int);
14
15 void initTicker (Time interval, TickProc handle_tick);
16 void startTicker (void);
17 void stopTicker (void);
18 void exitTicker (bool wait);
19
20 #include "EndPrivate.h"