diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-03 02:44:56 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-05 19:39:55 -0800 |
| commit | e3ccac8ed3b447ffecfbba7402760c083b9e51e2 (patch) | |
| tree | dc6043d94fc12f8443ba7aa75d3945f083863a91 /src/rt/rust_port_selector.cpp | |
| parent | fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d (diff) | |
| download | rust-e3ccac8ed3b447ffecfbba7402760c083b9e51e2.tar.gz rust-e3ccac8ed3b447ffecfbba7402760c083b9e51e2.zip | |
rt: Renome rust_task::lock to port_lock
Diffstat (limited to 'src/rt/rust_port_selector.cpp')
| -rw-r--r-- | src/rt/rust_port_selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_port_selector.cpp b/src/rt/rust_port_selector.cpp index 610db6ce927..1e1b09a59c5 100644 --- a/src/rt/rust_port_selector.cpp +++ b/src/rt/rust_port_selector.cpp @@ -63,7 +63,7 @@ void rust_port_selector::msg_sent_on(rust_port *port) { rust_task *task = port->task; - I(task->thread, !task->lock.lock_held_by_current_thread()); + I(task->thread, !task->port_lock.lock_held_by_current_thread()); I(task->thread, !port->lock.lock_held_by_current_thread()); I(task->thread, !rendezvous_lock.lock_held_by_current_thread()); |
