summaryrefslogtreecommitdiff
path: root/includes/rts/Signals.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/Signals.h')
-rw-r--r--includes/rts/Signals.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/includes/rts/Signals.h b/includes/rts/Signals.h
new file mode 100644
index 0000000000..8d9e0fd4b7
--- /dev/null
+++ b/includes/rts/Signals.h
@@ -0,0 +1,21 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The GHC Team, 1998-2009
+ *
+ * RTS signal handling
+ *
+ * ---------------------------------------------------------------------------*/
+
+#ifndef RTS_SIGNALS_H
+#define RTS_SIGNALS_H
+
+/* NB. #included in Haskell code, no prototypes in here. */
+
+/* arguments to stg_sig_install() */
+#define STG_SIG_DFL (-1)
+#define STG_SIG_IGN (-2)
+#define STG_SIG_ERR (-3)
+#define STG_SIG_HAN (-4)
+#define STG_SIG_RST (-5)
+
+#endif /* RTS_SIGNALS_H */