summaryrefslogtreecommitdiff
path: root/rts/posix/Signals.h
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-05-01 13:39:23 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-01 23:29:49 +0200
commit65e13f66c595ad75bd6e9a55496f1372ead2731d (patch)
tree91155c792ab9eda72f24c712e6c4e2641514451f /rts/posix/Signals.h
parent16a51a6c2f265f8670355be03d42b773d93e0684 (diff)
downloadhaskell-65e13f66c595ad75bd6e9a55496f1372ead2731d.tar.gz
rts: Split up Itimer.c
This shouldn't have any functional changes. It merely splits up what are essentially three distinct codepaths which are melding together with CPP. At the moment I merely #include the implementation to use with CPP although this really feels very yucky. Reviewers: erikd, austin, simonmar Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2130
Diffstat (limited to 'rts/posix/Signals.h')
-rw-r--r--rts/posix/Signals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/posix/Signals.h b/rts/posix/Signals.h
index 3100d39537..bb9a7b58df 100644
--- a/rts/posix/Signals.h
+++ b/rts/posix/Signals.h
@@ -13,6 +13,8 @@
# include <signal.h>
#endif
+#include "Ticker.h"
+
#include "BeginPrivate.h"
rtsBool anyUserHandlers(void);
@@ -24,6 +26,8 @@ extern siginfo_t *next_pending_handler;
void startSignalHandlers(Capability *cap);
#endif
+void install_vtalrm_handler(int sig, TickProc handle_tick);
+
void ioManagerStartCap (/* inout */ Capability **cap);
extern StgInt *signal_handlers;