X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsExternal.h;h=8e1a26acab379cba867651ce2c60853e46150fc3;hb=831f57c9563981a2e785e64b5d308922bd2c5af3;hp=3000059cc3c1c6b0832d19e86bdc932add43cb1b;hpb=3633e894a07a1d198dfc964c51024853c2c96537;p=ghc-hetmet.git diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 3000059..8e1a26a 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -38,6 +38,7 @@ extern int rts_getThreadId(StgPtr tso); extern int forkOS_createThread ( HsStablePtr entry ); extern StgInt forkProcess(HsStablePtr *entry); extern StgBool rtsSupportsBoundThreads(void); +extern StgInt newSpark (StgRegTable *reg, StgClosure *p); /* grimy low-level support functions defined in StgPrimFloat.c */ extern StgDouble __encodeDouble (I_ size, StgByteArray arr, I_ e); @@ -83,9 +84,6 @@ extern void* allocateExec(unsigned int len); Storage manager stuff exported -------------------------------------------------------------------------- */ -/* Prototype for an evacuate-like function */ -typedef void (*evac_fn)(StgClosure **); - extern void performGC(void); extern void performMajorGC(void); extern HsInt64 getAllocations( void );