Move a thread to the front of the run queue when another thread blocks on it
[ghc-hetmet.git] / includes / rts / Signals.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2009
4  *
5  * RTS signal handling 
6  *
7  * Do not #include this file directly: #include "Rts.h" instead.
8  *
9  * To understand the structure of the RTS headers, see the wiki:
10  *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
11  *
12  * ---------------------------------------------------------------------------*/
13
14 #ifndef RTS_SIGNALS_H
15 #define RTS_SIGNALS_H
16
17 /* NB. #included in Haskell code, no prototypes in here. */
18
19 /* arguments to stg_sig_install() */
20 #define STG_SIG_DFL   (-1)
21 #define STG_SIG_IGN   (-2)
22 #define STG_SIG_ERR   (-3)
23 #define STG_SIG_HAN   (-4)
24 #define STG_SIG_RST   (-5)
25
26 #endif /* RTS_SIGNALS_H */