From f94339cc1c98a1ae3ee3beb94c848009167a58d9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 3 Feb 2012 12:47:01 -0800 Subject: rt: Rename rust_scheduler to rust_task_thread --- src/rt/rust_shape.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rt/rust_shape.cpp') diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 875513ca264..20f8bef89aa 100644 --- a/src/rt/rust_shape.cpp +++ b/src/rt/rust_shape.cpp @@ -532,7 +532,7 @@ extern "C" void shape_cmp_type(int8_t *result, const type_desc *tydesc, const type_desc **subtydescs, uint8_t *data_0, uint8_t *data_1, uint8_t cmp_type) { - rust_task *task = rust_scheduler::get_task(); + rust_task *task = rust_task_thread::get_task(); shape::arena arena; // FIXME: This may well be broken when comparing two closures or objects @@ -553,7 +553,7 @@ shape_cmp_type(int8_t *result, const type_desc *tydesc, extern "C" rust_str * shape_log_str(const type_desc *tydesc, uint8_t *data) { - rust_task *task = rust_scheduler::get_task(); + rust_task *task = rust_task_thread::get_task(); shape::arena arena; shape::type_param *params = @@ -571,7 +571,7 @@ shape_log_str(const type_desc *tydesc, uint8_t *data) { extern "C" void shape_log_type(const type_desc *tydesc, uint8_t *data, uint32_t level) { - rust_task *task = rust_scheduler::get_task(); + rust_task *task = rust_task_thread::get_task(); shape::arena arena; shape::type_param *params = @@ -583,6 +583,6 @@ shape_log_type(const type_desc *tydesc, uint8_t *data, uint32_t level) { log.walk(); - task->sched->log(task, level, "%s", ss.str().c_str()); + task->thread->log(task, level, "%s", ss.str().c_str()); } -- cgit 1.4.1-3-g733a5