diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-04-24 09:16:10 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-04-24 09:16:10 +0000 |
commit | 1c4738ba866893b3b5c7c9952e9a1bf48e2aa055 (patch) | |
tree | 34cd2475aafa22292899812171f460f3a5ff8ea0 /includes | |
parent | 980a3e89be93e2d40cc26ca626c8cbf293abb78c (diff) | |
download | haskell-1c4738ba866893b3b5c7c9952e9a1bf48e2aa055.tar.gz |
add missing files (part of #3171 fix)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/RtsGlobals.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/includes/RtsGlobals.h b/includes/RtsGlobals.h new file mode 100644 index 0000000000..476f112e17 --- /dev/null +++ b/includes/RtsGlobals.h @@ -0,0 +1,21 @@ +/* ----------------------------------------------------------------------------- + * + * (c) The GHC Team, 2006-2009 + * + * The RTS stores some "global" values on behalf of libraries, so that + * some libraries can ensure that certain top-level things are shared + * even when multiple versions of the library are loaded. e.g. see + * Data.Typeable and GHC.Conc. + * + * ---------------------------------------------------------------------------*/ + +#ifndef RTSGLOBALS_H +#define RTSGLOBALS_H + +void initGlobalStore(void); +void exitGlobalStore(void); + +StgStablePtr getOrSetTypeableStore(StgStablePtr value); +StgStablePtr getOrSetSignalHandlerStore(StgStablePtr value); + +#endif |