diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-28 12:15:41 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-28 16:12:33 -0700 |
| commit | 657e5a2bd579f7f1698f8ba88cb1142ced7a477f (patch) | |
| tree | 46ed664d666330679e343cde537b9d9e3f33b3e3 /src/rt/rust_task.h | |
| parent | 02f6645fca946fd7cb9f55036c05a908f0567ceb (diff) | |
| download | rust-657e5a2bd579f7f1698f8ba88cb1142ced7a477f.tar.gz rust-657e5a2bd579f7f1698f8ba88cb1142ced7a477f.zip | |
Renamed what's left of rust_dom to rust_scheduler
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 5e61306af2e..54287df4414 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -43,7 +43,7 @@ rust_task : public maybe_proxy<rust_task>, uintptr_t runtime_sp; // Runtime sp while task running. uintptr_t rust_sp; // Saved sp when not running. gc_alloc *gc_alloc_chain; // Linked list of GC allocations. - rust_dom *dom; + rust_scheduler *sched; rust_crate_cache *cache; // Fields known only to the runtime. @@ -83,7 +83,7 @@ rust_task : public maybe_proxy<rust_task>, memory_region synchronized_region; // Only a pointer to 'name' is kept, so it must live as long as this task. - rust_task(rust_dom *dom, + rust_task(rust_scheduler *sched, rust_task_list *state, rust_task *spawner, const char *name); @@ -111,8 +111,8 @@ rust_task : public maybe_proxy<rust_task>, void die(); void unblock(); - void check_active() { I(dom, dom->curr_task == this); } - void check_suspended() { I(dom, dom->curr_task != this); } + void check_active() { I(sched, sched->curr_task == this); } + void check_suspended() { I(sched, sched->curr_task != this); } // Print a backtrace, if the "bt" logging option is on. void backtrace(); |
