summary refs log tree commit diff
path: root/src/rt/rust_task_thread.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-17 18:25:06 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-18 18:18:18 -0700
commit5d4bf75f56a10c4d15acb3ecb3d33aeea5511806 (patch)
tree7d14eb8fd2a31446bd137588754c2ca330368eee /src/rt/rust_task_thread.cpp
parent47c18957242e34ddb8b12f27c8efd396171fef6d (diff)
downloadrust-5d4bf75f56a10c4d15acb3ecb3d33aeea5511806.tar.gz
rust-5d4bf75f56a10c4d15acb3ecb3d33aeea5511806.zip
rt: Convert rust_task_list to a typedef
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
-rw-r--r--src/rt/rust_task_thread.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp
index 6997309fee3..1a90aae2c1b 100644
--- a/src/rt/rust_task_thread.cpp
+++ b/src/rt/rust_task_thread.cpp
@@ -27,10 +27,6 @@ rust_task_thread::rust_task_thread(rust_scheduler *sched,
     id(id),
     should_exit(false),
     cached_c_stack(NULL),
-    newborn_tasks(this),
-    running_tasks(this),
-    blocked_tasks(this),
-    dead_tasks(this),
     kernel(sched->kernel),
     sched(sched),
     srv(srv),
@@ -47,15 +43,6 @@ rust_task_thread::rust_task_thread(rust_scheduler *sched,
         init_tls();
 }
 
-rust_task_thread::~rust_task_thread() {
-    DLOG(this, dom, "~rust_task_thread %s @0x%" PRIxPTR, name, (uintptr_t)this);
-
-    newborn_tasks.delete_all();
-    running_tasks.delete_all();
-    blocked_tasks.delete_all();
-    dead_tasks.delete_all();
-}
-
 void
 rust_task_thread::activate(rust_task *task) {
     task->ctx.next = &c_context;