aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-09 08:06:08 -0700
committerMichael Bebenita <[email protected]>2010-08-09 08:06:08 -0700
commit5917ca35190b526b65b4d26ad0b98024ce9e0b09 (patch)
treec4076864029ecc75fd53fd4385caba4656d80080 /src/rt/rust_task.cpp
parentAdded peek() to ptr_vec. (diff)
downloadrust-5917ca35190b526b65b4d26ad0b98024ce9e0b09.tar.xz
rust-5917ca35190b526b65b4d26ad0b98024ce9e0b09.zip
Fixed deadlock in the scheduler caused by condition variables.
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp3
1 files changed, 0 insertions, 3 deletions
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;
}