From 5917ca35190b526b65b4d26ad0b98024ce9e0b09 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 9 Aug 2010 08:06:08 -0700 Subject: Fixed deadlock in the scheduler caused by condition variables. --- src/rt/rust_task.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 63724bbb..c8831e8e 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -556,9 +556,6 @@ rust_task::wakeup(rust_cond *from) A(dom, cond == from, "Cannot wake up blocked task on wrong condition."); transition(&dom->blocked_tasks, &dom->running_tasks); - // TODO: Signaling every time the task is awaken is kind of silly, - // do this a nicer way. - dom->_progress.signal(); I(dom, cond == from); cond = NULL; } -- cgit v1.2.3