diff options
Diffstat (limited to 'rts/hooks/ShutdownEachPEHook.c')
-rw-r--r-- | rts/hooks/ShutdownEachPEHook.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rts/hooks/ShutdownEachPEHook.c b/rts/hooks/ShutdownEachPEHook.c new file mode 100644 index 0000000000..f5e3ba9344 --- /dev/null +++ b/rts/hooks/ShutdownEachPEHook.c @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- + * + * 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 |