summary refs log tree commit diff
path: root/src/rt/rust_task.h
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_task.h
parentfa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d (diff)
rt: Renome rust_task::lock to port_lock
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index 4f1ae792ae2..328b5c5ca9e 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -89,8 +89,8 @@ rust_task : public kernel_owned<rust_task>, rust_cond
 
     bool propagate_failure;
 
-    lock_and_signal lock;
-
+    // Protects port_table
+    lock_and_signal port_lock;
     hash_map<rust_port_id, rust_port *> port_table;
 
     rust_obstack dynastack;