projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
760e1a8
)
workerTaskStop(): set task->cap = NULL
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 6 Mar 2007 14:04:53 +0000
(14:04 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 6 Mar 2007 14:04:53 +0000
(14:04 +0000)
avoids an assertion failure in newBoundTask()
rts/Task.c
patch
|
blob
|
history
diff --git
a/rts/Task.c
b/rts/Task.c
index
038e861
..
0ec60f7
100644
(file)
--- a/
rts/Task.c
+++ b/
rts/Task.c
@@
-258,6
+258,7
@@
workerTaskStop (Task *task)
ASSERT(myTask() == task);
#endif
+ task->cap = NULL;
taskTimeStamp(task);
task->stopped = rtsTrue;
tasksRunning--;