diff options
Diffstat (limited to 'rts/hooks/OnExit.c')
-rw-r--r-- | rts/hooks/OnExit.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rts/hooks/OnExit.c b/rts/hooks/OnExit.c new file mode 100644 index 0000000000..dd4c3b4bb0 --- /dev/null +++ b/rts/hooks/OnExit.c @@ -0,0 +1,19 @@ +/* ----------------------------------------------------------------------------- + * + * User-overridable RTS hooks. + * + * ---------------------------------------------------------------------------*/ + +#include "Rts.h" + +/* Note: by the time this hook has been called, Haskell land + * will have been shut down completely. + * + * ToDo: feed the hook info on whether we're shutting down as a result + * of termination or run-time error ? + */ + +void +OnExitHook () +{ +} |