diff options
| author | Michael Bebenita <mbebenita@mozilla.com> | 2010-08-09 08:06:08 -0700 |
|---|---|---|
| committer | Michael Bebenita <mbebenita@mozilla.com> | 2010-08-09 08:06:08 -0700 |
| commit | 5917ca35190b526b65b4d26ad0b98024ce9e0b09 (patch) | |
| tree | c4076864029ecc75fd53fd4385caba4656d80080 /src/rt/rust_task.cpp | |
| parent | 4641fcef616a7ee1eece4f00f757958757deb438 (diff) | |
| download | rust-5917ca35190b526b65b4d26ad0b98024ce9e0b09.tar.gz 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.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 63724bbbcd3..c8831e8e05b 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; } |
