diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-20 16:30:27 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-20 16:30:27 -0700 |
| commit | 7dad31d11cc4180ac97525fab9c5e3e29c8a894c (patch) | |
| tree | bf91c50e90be1222bd159d9086eb60b3dd562c59 /src/rt/rust_scheduler.cpp | |
| parent | abdb6cd71bdd5b66d42ddfc517c9adf318b17c9f (diff) | |
| download | rust-7dad31d11cc4180ac97525fab9c5e3e29c8a894c.tar.gz rust-7dad31d11cc4180ac97525fab9c5e3e29c8a894c.zip | |
Fix comment typos
Diffstat (limited to 'src/rt/rust_scheduler.cpp')
| -rw-r--r-- | src/rt/rust_scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_scheduler.cpp b/src/rt/rust_scheduler.cpp index e285f18e682..859db885e82 100644 --- a/src/rt/rust_scheduler.cpp +++ b/src/rt/rust_scheduler.cpp @@ -104,7 +104,7 @@ rust_scheduler::reap_dead_tasks(int id) { return; } - // First make up copy of the dead_task list with the lock held + // First make a copy of the dead_task list with the lock held size_t dead_tasks_len = dead_tasks.length(); rust_task **dead_tasks_copy = (rust_task**) srv->malloc(sizeof(rust_task*) * dead_tasks_len); @@ -145,7 +145,7 @@ rust_scheduler::reap_dead_tasks(int id) { } // Now unlock again because we have to actually free the dead tasks, - // and that may end up wanting to do lock the task and sched locks + // and that may end up wanting to lock the task and sched locks // again (via target->send) lock.unlock(); |
