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:
2846bc8
)
[project @ 2005-11-04 15:31:30 by simonmar]
author
simonmar
<unknown>
Fri, 4 Nov 2005 15:31:30 +0000
(15:31 +0000)
committer
simonmar
<unknown>
Fri, 4 Nov 2005 15:31:30 +0000
(15:31 +0000)
We shouldn't call closeCondition() on the condition in discardTask(),
we're just freeing the Task for later use.
ghc/rts/Task.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Task.c
b/ghc/rts/Task.c
index
44bbb95
..
bc140c1
100644
(file)
--- a/
ghc/rts/Task.c
+++ b/
ghc/rts/Task.c
@@
-175,9
+175,6
@@
void
discardTask (Task *task)
{
ASSERT_LOCK_HELD(&sched_mutex);
-#if defined(THREADED_RTS)
- closeCondition(&task->cond);
-#endif
task->stopped = rtsTrue;
task->cap = NULL;
task->next = task_free_list;