From 9e780871543ab57a21de4a8ee588940d6479de11 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 4 Nov 2005 15:31:30 +0000 Subject: [PATCH] [project @ 2005-11-04 15:31:30 by simonmar] We shouldn't call closeCondition() on the condition in discardTask(), we're just freeing the Task for later use. --- ghc/rts/Task.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ghc/rts/Task.c b/ghc/rts/Task.c index 44bbb95..bc140c1 100644 --- 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; -- 1.7.10.4