projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74936e
)
tidy up the end of the all_tasks list after forking
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 29 Mar 2010 13:22:53 +0000
(13:22 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 29 Mar 2010 13:22:53 +0000
(13:22 +0000)
rts/Task.c
patch
|
blob
|
history
diff --git
a/rts/Task.c
b/rts/Task.c
index
e2f363b
..
9707251
100644
(file)
--- a/
rts/Task.c
+++ b/
rts/Task.c
@@
-292,6
+292,7
@@
discardTasksExcept (Task *keep)
}
}
all_tasks = keep;
+ keep->all_link = NULL;
RELEASE_LOCK(&sched_mutex);
}