about summary refs log tree commit diff
path: root/src/rt/rust.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-03 12:47:01 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-03 23:48:12 -0800
commitf94339cc1c98a1ae3ee3beb94c848009167a58d9 (patch)
tree557b51759b825ea48071cbddbd023b687a8c4098 /src/rt/rust.cpp
parentf3343b35717edbfb88c7d1fae790e43d5d7cb732 (diff)
downloadrust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.tar.gz
rust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.zip
rt: Rename rust_scheduler to rust_task_thread
Diffstat (limited to 'src/rt/rust.cpp')
-rw-r--r--src/rt/rust.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp
index 87520fe44a2..aa1e05c0400 100644
--- a/src/rt/rust.cpp
+++ b/src/rt/rust.cpp
@@ -90,15 +90,15 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) {
     rust_task_id root_id = kernel->create_task(NULL, "main", MAIN_STACK_SIZE);
     rust_task *root_task = kernel->get_task_by_id(root_id);
     I(kernel, root_task != NULL);
-    rust_scheduler *sched = root_task->sched;
+    rust_task_thread *thread = root_task->thread;
     command_line_args *args
         = new (kernel, "main command line args")
         command_line_args(root_task, argc, argv);
 
-    DLOG(sched, dom, "startup: %d args in 0x%" PRIxPTR,
+    DLOG(thread, dom, "startup: %d args in 0x%" PRIxPTR,
              args->argc, (uintptr_t)args->args);
     for (int i = 0; i < args->argc; i++) {
-        DLOG(sched, dom, "startup: arg[%d] = '%s'", i, args->argv[i]);
+        DLOG(thread, dom, "startup: arg[%d] = '%s'", i, args->argv[i]);
     }
 
     root_task->start((spawn_fn)main_fn, NULL, args->args);