about summary refs log tree commit diff
path: root/src/rt/rust_kernel.h
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-06-28 12:54:41 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-06-28 16:12:34 -0700
commitf6f8a06d6bf010b8d30c23786976792cccfbd6de (patch)
tree7aeb93091cdb19e6ac3b2a63fd7f828a4b3c1499 /src/rt/rust_kernel.h
parent657e5a2bd579f7f1698f8ba88cb1142ced7a477f (diff)
downloadrust-f6f8a06d6bf010b8d30c23786976792cccfbd6de.tar.gz
rust-f6f8a06d6bf010b8d30c23786976792cccfbd6de.zip
Resurrecting the runtime unit tests, and modifying them so they compile under the latest refactoring changes.
Diffstat (limited to 'src/rt/rust_kernel.h')
-rw-r--r--src/rt/rust_kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h
index a1fba33bf89..bea5afd5de3 100644
--- a/src/rt/rust_kernel.h
+++ b/src/rt/rust_kernel.h
@@ -68,11 +68,11 @@ class rust_kernel : public rust_thread {
     rust_handle<rust_scheduler> *
     internal_get_sched_handle(rust_scheduler *sched);
 
+    array_list<rust_task_thread *> threads;
+
     rust_scheduler *create_scheduler(const char *name);
     void destroy_scheduler();
 
-    array_list<rust_task_thread *> threads;
-
 public:
     rust_scheduler *sched;
     lock_and_signal scheduler_lock;