summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorDmitry Astapov <dastapov@gmail.com>2010-12-08 18:37:55 +0000
committerDmitry Astapov <dastapov@gmail.com>2010-12-08 18:37:55 +0000
commit47808bdc0bae8e5ba2910c85ea6c0699af01e97c (patch)
treee7363676d679cdad80a819c42a15864c69541da6 /rts/posix
parent2590ff4374466b196da479c2776c35336b9f0495 (diff)
downloadhaskell-47808bdc0bae8e5ba2910c85ea6c0699af01e97c.tar.gz
Export the value of the signal used by scheduler (#4504)
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/Itimer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/posix/Itimer.c b/rts/posix/Itimer.c
index 2dbf32d2f4..e46bb12546 100644
--- a/rts/posix/Itimer.c
+++ b/rts/posix/Itimer.c
@@ -245,3 +245,9 @@ getourtimeofday(void)
return (lnat)((StgWord64)tv.tv_sec * 1000 / interval +
(StgWord64)tv.tv_usec / (interval * 1000));
}
+
+int
+rtsTimerSignal(void)
+{
+ return ITIMER_SIGNAL;
+}