summaryrefslogtreecommitdiff
path: root/includes/rts/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/Globals.h')
-rw-r--r--includes/rts/Globals.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/includes/rts/Globals.h b/includes/rts/Globals.h
new file mode 100644
index 0000000000..71846e75a1
--- /dev/null
+++ b/includes/rts/Globals.h
@@ -0,0 +1,18 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (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 RTS_GLOBALS_H
+#define RTS_GLOBALS_H
+
+StgStablePtr getOrSetTypeableStore(StgStablePtr value);
+StgStablePtr getOrSetSignalHandlerStore(StgStablePtr value);
+
+#endif /* RTS_GLOBALS_H */