[project @ 2004-02-12 02:04:59 by mthomas]
[ghc-hetmet.git] / ghc / includes / Signals.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2002
4  *
5  * RTS signal handling 
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef SIGNALS_H
10 #define SIGNALS_H
11
12 #define STG_SIG_DFL  (-1)
13 #define STG_SIG_IGN  (-2)
14 #define STG_SIG_ERR  (-3)
15 #define STG_SIG_HAN  (-4)
16 #define STG_SIG_RST  (-5)
17
18 #if defined(mingw32_TARGET_OS)
19 extern int stg_InstallConsoleEvent(int action, StgStablePtr *handler);
20 #else
21 extern int stg_sig_install (int, int, StgStablePtr *, void *);
22 #endif
23
24 #endif // SIGNALS_H
25