blob: e281c89ab9810040fca7814cbfb9e1137758354c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-1999
*
* User-overridable RTS hooks.
*
* ---------------------------------------------------------------------------*/
extern char *ghc_rts_opts;
extern void OnExitHook (void);
extern int NoRunnableThreadsHook (void);
extern void StackOverflowHook (unsigned long stack_size);
extern void OutOfHeapHook (unsigned long request_size, unsigned long heap_size);
extern void MallocFailHook (unsigned long request_size /* in bytes */, char *msg);
extern void defaultsHook (void);
|