about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorMichael Bebenita <mbebenita@mozilla.com>2010-07-28 16:46:13 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-07-28 20:30:29 -0700
commit4246d567b7a999155524669e3b0419e8f71080b1 (patch)
tree38ab4d3aa04b25e37db9e663890235edf2f3a8a6 /src/rt/rust_task.cpp
parent4ff8e15128f90d4e9e57897c48280c6f82bb8343 (diff)
downloadrust-4246d567b7a999155524669e3b0419e8f71080b1.tar.gz
rust-4246d567b7a999155524669e3b0419e8f71080b1.zip
Move ports out into their own file, add data_message and make communication system use it (and proxies) instead of existing token scheme.
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index b3caac252b9..7140692cb44 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -64,7 +64,6 @@ rust_task::rust_task(rust_dom *dom, rust_task *spawner) :
     cond(NULL),
     supervisor(spawner),
     idx(0),
-    waiting_tasks(dom),
     rendezvous_ptr(0),
     alarm(this)
 {
@@ -373,19 +372,6 @@ rust_task::unsupervise()
 }
 
 void
-rust_task::notify_waiting_tasks()
-{
-    while (waiting_tasks.length() > 0) {
-        log(rust_log::ALL, "notify_waiting_tasks: %d",
-            waiting_tasks.length());
-        rust_task *waiting_task = waiting_tasks.pop()->receiver;
-        if (!waiting_task->dead()) {
-            waiting_task->wakeup(this);
-        }
-    }
-}
-
-void
 rust_task::notify_tasks_waiting_to_join() {
     while (tasks_waiting_to_join.is_empty() == false) {
         log(rust_log::ALL, "notify_tasks_waiting_to_join: %d",