diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-18 13:37:00 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 13:38:20 -0800 |
| commit | 0f339b481a8ae255f012f2218c8f5b5fc3d451ce (patch) | |
| tree | 793eb5480c739ecd769cef6e2cbe84fdef8e70e5 /src/rt/rust_task.cpp | |
| parent | 3cfcdb4bb279bab6f58b147486f5e2a54411b316 (diff) | |
| download | rust-0f339b481a8ae255f012f2218c8f5b5fc3d451ce.tar.gz rust-0f339b481a8ae255f012f2218c8f5b5fc3d451ce.zip | |
rt: Remove a lock from task_start_wrapper that does nothing
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index a7d92b96e3c..848086dd368 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -210,9 +210,6 @@ void task_start_wrapper(spawn_args *a) #else A(task->sched, false, "Shouldn't happen"); #endif - } else { - task->lock.lock(); - task->lock.unlock(); } task->ctx.next->swap(task->ctx); } |
