~ubuntu-branches/ubuntu/precise/ghc/precise

« back to all changes in this revision

Viewing changes to rts/hooks/OnExit.c

  • Committer: Bazaar Package Importer
  • Author(s): Joachim Breitner
  • Date: 2011-01-17 12:49:24 UTC
  • Revision ID: james.westby@ubuntu.com-20110117124924-do1pym1jlf5o636m
Tags: upstream-7.0.1
ImportĀ upstreamĀ versionĀ 7.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -----------------------------------------------------------------------------
 
2
 *
 
3
 * User-overridable RTS hooks.
 
4
 *
 
5
 * ---------------------------------------------------------------------------*/
 
6
 
 
7
#include "PosixSource.h"
 
8
#include "Rts.h"
 
9
 
 
10
/* Note: by the time this hook has been called, Haskell land
 
11
 * will have been shut down completely.
 
12
 *
 
13
 * ToDo: feed the hook info on whether we're shutting down as a result
 
14
 * of termination or run-time error ?
 
15
 */
 
16
 
 
17
void
 
18
OnExitHook ()
 
19
{
 
20
}