projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wake up other Capabilities even when there is only one spark (see #2868)
[ghc-hetmet.git]
/
includes
/
Storage.h
diff --git
a/includes/Storage.h
b/includes/Storage.h
index
2b8f107
..
0a7aae6
100644
(file)
--- a/
includes/Storage.h
+++ b/
includes/Storage.h
@@
-204,7
+204,7
@@
doYouWantToGC( void )
}
/* memory allocator for executable memory */
}
/* memory allocator for executable memory */
-extern void *allocateExec (nat bytes);
+extern void* allocateExec(unsigned int len, void **exec_addr);
extern void freeExec (void *p);
/* for splitting blocks groups in two */
extern void freeExec (void *p);
/* for splitting blocks groups in two */
@@
-220,7
+220,7
@@
extern bdescr * splitLargeBlock (bdescr *bd, nat blocks);
-------------------------------------------------------------------------- */
-------------------------------------------------------------------------- */
-extern void GarbageCollect(rtsBool force_major_gc);
+extern void GarbageCollect(rtsBool force_major_gc, nat gc_type, Capability *cap);
/* -----------------------------------------------------------------------------
Generational garbage collection support
/* -----------------------------------------------------------------------------
Generational garbage collection support