summaryrefslogtreecommitdiff
path: root/rts/Sparks.h
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-07-23 12:52:05 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-07-23 12:52:05 +0000
commitdc6008a61acedd3d0785111cf8955c479cb226a4 (patch)
tree2420459740a4fcdd1686f56882b4b80a158a544a /rts/Sparks.h
parent3eb8462836317d1c21bfd51969b2042fab6676cb (diff)
downloadhaskell-dc6008a61acedd3d0785111cf8955c479cb226a4.tar.gz
Undo fix for #2185: sparks really should be treated as roots
Unless sparks are roots, strategies don't work at all: all the sparks get GC'd. We need to think about this some more.
Diffstat (limited to 'rts/Sparks.h')
-rw-r--r--rts/Sparks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Sparks.h b/rts/Sparks.h
index bf10a59d57..1b9784668e 100644
--- a/rts/Sparks.h
+++ b/rts/Sparks.h
@@ -14,7 +14,7 @@ StgClosure * findSpark (Capability *cap);
void initSparkPools (void);
void freeSparkPool (StgSparkPool *pool);
void createSparkThread (Capability *cap, StgClosure *p);
-void updateSparkQueue (Capability *cap);
+void markSparkQueue (evac_fn evac, void *user, Capability *cap);
void traverseSparkQueue(evac_fn evac, void *user, Capability *cap);
INLINE_HEADER void discardSparks (StgSparkPool *pool);