Expose genericRaise; fixes signals004(dyn) no OS X 32
[ghc.git] / includes / rts / Utils.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 1998-2009
4 *
5 * RTS external APIs. This file declares everything that the GHC RTS
6 * exposes externally.
7 *
8 * To understand the structure of the RTS headers, see the wiki:
9 * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
10 *
11 * ---------------------------------------------------------------------------*/
12
13 #ifndef RTS_UTILS_H
14 #define RTS_UTILS_H
15
16 // Used in GHC (basicTypes/Unique.lhs, and Data.Unique in the base
17 // package.
18 HsInt genSymZh(void);
19 HsInt resetGenSymZh(void);
20
21 /* Alternate to raise(3) for threaded rts, for BSD-based OSes */
22 int genericRaise(int sig);
23
24 #endif /* RTS_UTILS_H */