diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-03 12:47:01 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-03 23:48:12 -0800 |
| commit | f94339cc1c98a1ae3ee3beb94c848009167a58d9 (patch) | |
| tree | 557b51759b825ea48071cbddbd023b687a8c4098 /src/rt/rust_task_list.cpp | |
| parent | f3343b35717edbfb88c7d1fae790e43d5d7cb732 (diff) | |
| download | rust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.tar.gz rust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.zip | |
rt: Rename rust_scheduler to rust_task_thread
Diffstat (limited to 'src/rt/rust_task_list.cpp')
| -rw-r--r-- | src/rt/rust_task_list.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_task_list.cpp b/src/rt/rust_task_list.cpp index 96d3d7bd34a..e7cc479f98f 100644 --- a/src/rt/rust_task_list.cpp +++ b/src/rt/rust_task_list.cpp @@ -1,15 +1,15 @@ #include "rust_internal.h" -rust_task_list::rust_task_list (rust_scheduler *sched, const char* name) : - sched(sched), name(name) { +rust_task_list::rust_task_list (rust_task_thread *thread, const char* name) : + thread(thread), name(name) { } void rust_task_list::delete_all() { - DLOG(sched, task, "deleting all %s tasks", name); + DLOG(thread, task, "deleting all %s tasks", name); while (is_empty() == false) { rust_task *task = pop_value(); - DLOG(sched, task, "deleting task " PTR, task); + DLOG(thread, task, "deleting task " PTR, task); delete task; } } |
