diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-02 16:15:19 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-02 18:10:24 -0800 |
| commit | ed3a5ad5ad01a7213cecb6361b83d710f8eb4249 (patch) | |
| tree | 6722563edf199a4b4bad8bd53a9276339241ec12 /src/rt/rust_task.cpp | |
| parent | 57cad613538177e06aa1b509f820f6f93704ad8c (diff) | |
| download | rust-ed3a5ad5ad01a7213cecb6361b83d710f8eb4249.tar.gz rust-ed3a5ad5ad01a7213cecb6361b83d710f8eb4249.zip | |
rt: Remove running_on flag. Does nothing
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 6bd03e5f0cc..831d34a6bf0 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -244,7 +244,6 @@ rust_task::rust_task(rust_scheduler *sched, rust_task_list *state, list_index(-1), next_port_id(0), rendezvous_ptr(0), - running_on(-1), local_region(&sched->srv->local_region), boxed(&local_region), unwinding(false), @@ -626,8 +625,7 @@ rust_task::backtrace() { bool rust_task::can_schedule(int id) { - return - running_on == -1; + return true; } void * |
