summaryrefslogtreecommitdiff
path: root/includes/rts/Utils.h
blob: 1cb52ae83fdc5ec700f1448c4314d82caf596ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2009
 *
 * RTS external APIs.  This file declares everything that the GHC RTS
 * exposes externally.
 *
 * To understand the structure of the RTS headers, see the wiki:
 *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTS_UTILS_H
#define RTS_UTILS_H

// Used in GHC (basicTypes/Unique.lhs, and Data.Unique in the base
// package.
HsInt genSymZh(void);
HsInt resetGenSymZh(void);

/* Alternate to raise(3) for threaded rts, for BSD-based OSes */
int genericRaise(int sig);

#endif /* RTS_UTILS_H */