summaryrefslogtreecommitdiff
path: root/rts/hooks
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-06-02 14:02:33 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-06-02 14:02:33 +0000
commitdd56e9ab4544e83d27532a8d9058140bfe81825c (patch)
tree5c5ba3eb63a02d7de3c8c514e883f7dd36e98332 /rts/hooks
parentcfe2fd2a36f43c1f998bb5e7c0cec15480ed3f96 (diff)
downloadhaskell-dd56e9ab4544e83d27532a8d9058140bfe81825c.tar.gz
Remove old GUM/GranSim code
Diffstat (limited to 'rts/hooks')
-rw-r--r--rts/hooks/InitEachPE.c23
-rw-r--r--rts/hooks/ShutdownEachPEHook.c19
2 files changed, 0 insertions, 42 deletions
diff --git a/rts/hooks/InitEachPE.c b/rts/hooks/InitEachPE.c
deleted file mode 100644
index cc9cdc0dba..0000000000
--- a/rts/hooks/InitEachPE.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -----------------------------------------------------------------------------
- *
- * User-overridable RTS hooks.
- *
- * ---------------------------------------------------------------------------*/
-
-#include "Rts.h"
-
-#ifdef PAR
-void
-InitEachPEHook (void)
-{ /* In a GUM setup this is called on each
- PE immediately before SynchroniseSystem.
- It can be used to read in static data
- to each PE which has to be available to
- each PE. See GPH-Maple as an example how to
- use this in combination with foreign language
- code:
- http://www.risc.uni-linz.ac.at/software/ghc-maple/
- -- HWL
- */
-}
-#endif
diff --git a/rts/hooks/ShutdownEachPEHook.c b/rts/hooks/ShutdownEachPEHook.c
deleted file mode 100644
index f5e3ba9344..0000000000
--- a/rts/hooks/ShutdownEachPEHook.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -----------------------------------------------------------------------------
- *
- * User-overridable RTS hooks.
- *
- * ---------------------------------------------------------------------------*/
-
-#include "Rts.h"
-
-#ifdef PAR
-void
-ShutdownEachPEHook (void)
-{ /* In a GUM setup this routine is called at the end of
- shutdownParallelSystem on each PE. Useful for
- cleaning up stuff, especially when interfacing
- with foreign language code.
- -- HWL
- */
-}
-#endif