PPC: Implement SMP primitives using gcc built-ins
[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://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
10 *
11 * ---------------------------------------------------------------------------*/
12
13 #ifndef RTS_UTILS_H
14 #define RTS_UTILS_H
15
16 /* Alternate to raise(3) for threaded rts, for BSD-based OSes */
17 int genericRaise(int sig);
18
19 #endif /* RTS_UTILS_H */