diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-29 16:31:30 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-31 19:51:29 -0700 |
| commit | 243790836a40fd3f23d8bd16d8f45430d19aae61 (patch) | |
| tree | 972cd3efcba28932a840aa9af3d244232a1e9711 /src/rt/rust_shape.cpp | |
| parent | 6bf8d19712e2310ab6a7da2e82b2287278a772e4 (diff) | |
| download | rust-243790836a40fd3f23d8bd16d8f45430d19aae61.tar.gz rust-243790836a40fd3f23d8bd16d8f45430d19aae61.zip | |
rt: Rename rust_task_thread to rust_sched_loop
This class no longer represents a thread; it just schedules tasks.
Diffstat (limited to 'src/rt/rust_shape.cpp')
| -rw-r--r-- | src/rt/rust_shape.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_shape.cpp b/src/rt/rust_shape.cpp index 9883400d173..78434bae8bc 100644 --- a/src/rt/rust_shape.cpp +++ b/src/rt/rust_shape.cpp @@ -550,7 +550,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_task_thread::get_task(); + rust_task *task = rust_sched_loop::get_task(); shape::arena arena; // FIXME: This may well be broken when comparing two closures or objects @@ -571,7 +571,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_task_thread::get_task(); + rust_task *task = rust_sched_loop::get_task(); shape::arena arena; shape::type_param *params = @@ -589,7 +589,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_task_thread::get_task(); + rust_task *task = rust_sched_loop::get_task(); shape::arena arena; shape::type_param *params = @@ -601,6 +601,6 @@ shape_log_type(const type_desc *tydesc, uint8_t *data, uint32_t level) { log.walk(); - task->thread->log(task, level, "%s", ss.str().c_str()); + task->sched_loop->log(task, level, "%s", ss.str().c_str()); } |
