diff options
author | Ian Lynagh <igloo@earth.li> | 2010-08-13 17:04:02 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-08-13 17:04:02 +0000 |
commit | 3fb074b5fcfd91fe0d37af83f221450ac4734908 (patch) | |
tree | ce49021f2f6411643cfc261b79bbb73e4ea1ff1c /includes | |
parent | 429dc9a048f5533143fb5c9908b09d3155496e9b (diff) | |
download | haskell-3fb074b5fcfd91fe0d37af83f221450ac4734908.tar.gz |
Return memory to the OS; trac #698
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/storage/MBlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/rts/storage/MBlock.h b/includes/rts/storage/MBlock.h index 739ac6852a..69b3742514 100644 --- a/includes/rts/storage/MBlock.h +++ b/includes/rts/storage/MBlock.h @@ -12,17 +12,17 @@ #ifndef RTS_STORAGE_MBLOCK_H #define RTS_STORAGE_MBLOCK_H +extern lnat peak_mblocks_allocated; extern lnat mblocks_allocated; extern void initMBlocks(void); extern void * getMBlock(void); extern void * getMBlocks(nat n); +extern void freeMBlocks(void *addr, nat n); extern void freeAllMBlocks(void); -#ifdef DEBUG extern void *getFirstMBlock(void); extern void *getNextMBlock(void *mblock); -#endif #ifdef THREADED_RTS // needed for HEAP_ALLOCED below |