about summary refs log tree commit diff
path: root/src/rt/rust_kernel.h
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_kernel.h
parentf3343b35717edbfb88c7d1fae790e43d5d7cb732 (diff)
downloadrust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.tar.gz
rust-f94339cc1c98a1ae3ee3beb94c848009167a58d9.zip
rt: Rename rust_scheduler to rust_task_thread
Diffstat (limited to 'src/rt/rust_kernel.h')
-rw-r--r--src/rt/rust_kernel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h
index b82119cc5ad..963c503bee5 100644
--- a/src/rt/rust_kernel.h
+++ b/src/rt/rust_kernel.h
@@ -5,7 +5,7 @@
 #include "memory_region.h"
 #include "rust_log.h"
 
-struct rust_scheduler;
+struct rust_task_thread;
 
 /**
  * A global object shared by all thread domains. Most of the data structures
@@ -21,12 +21,12 @@ public:
 private:
     lock_and_signal _kernel_lock;
 
-    array_list<rust_scheduler *> threads;
+    array_list<rust_task_thread *> threads;
 
     randctx rctx;
 
-    rust_scheduler *create_scheduler(int id);
-    void destroy_scheduler(rust_scheduler *sched);
+    rust_task_thread *create_scheduler(int id);
+    void destroy_scheduler(rust_task_thread *thread);
 
     void create_schedulers();
     void destroy_schedulers();