HANDLE --> (void *), we can't rely on having included windows.h here
[ghc-hetmet.git] / includes / Hooks.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-1999
4  *
5  * User-overridable RTS hooks.
6  *
7  * ---------------------------------------------------------------------------*/
8
9 extern char *ghc_rts_opts;
10
11 extern void OnExitHook (void);
12 extern int  NoRunnableThreadsHook (void);
13 extern void StackOverflowHook (unsigned long stack_size);
14 extern void OutOfHeapHook (unsigned long request_size, unsigned long heap_size);
15 extern void MallocFailHook (unsigned long request_size /* in bytes */, char *msg);
16 extern void defaultsHook (void);
17 #if defined(PAR)
18 extern void InitEachPEHook (void);
19 extern void ShutdownEachPEHook (void);
20 #endif