rt: Convert rust_task_list to a typedef

This commit is contained in:
Brian Anderson
2012-03-17 18:25:06 -07:00
parent 47c1895724
commit 5d4bf75f56
6 changed files with 2 additions and 49 deletions

View File

@@ -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;