476f112e176289491e7979b9a4f16118472a681d
[ghc-hetmet.git] / includes / RtsGlobals.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 2006-2009
4  *
5  * The RTS stores some "global" values on behalf of libraries, so that
6  * some libraries can ensure that certain top-level things are shared
7  * even when multiple versions of the library are loaded.  e.g. see
8  * Data.Typeable and GHC.Conc.
9  *
10  * ---------------------------------------------------------------------------*/
11
12 #ifndef RTSGLOBALS_H
13 #define RTSGLOBALS_H
14
15 void initGlobalStore(void);
16 void exitGlobalStore(void);
17
18 StgStablePtr getOrSetTypeableStore(StgStablePtr value);
19 StgStablePtr getOrSetSignalHandlerStore(StgStablePtr value);
20
21 #endif