about summary refs log tree commit diff
path: root/src/rt/rust_port_selector.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-03 02:44:56 -0800
committerBrian Anderson <banderson@mozilla.com>2012-03-05 19:39:55 -0800
commite3ccac8ed3b447ffecfbba7402760c083b9e51e2 (patch)
treedc6043d94fc12f8443ba7aa75d3945f083863a91 /src/rt/rust_port_selector.cpp
parentfa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d (diff)
downloadrust-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.cpp2
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());