about summary refs log tree commit diff
path: root/src/libstd/rt/kill.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-27 22:31:22 -0700
committerbors <bors@rust-lang.org>2013-07-27 22:31:22 -0700
commit9325535b41fa5a7cfac697e86ae86bd1384542e6 (patch)
treef28193aa80d78d16efd25cf319fbd8b604125173 /src/libstd/rt/kill.rs
parent3078e83c3f1a643ddbdefa78095e4fbda3cecc02 (diff)
parent39b3a0561f06b1ea01a12d8fc3372334116a7833 (diff)
downloadrust-9325535b41fa5a7cfac697e86ae86bd1384542e6.tar.gz
rust-9325535b41fa5a7cfac697e86ae86bd1384542e6.zip
auto merge of #7978 : sstewartgallus/rust/rename_arc, r=bblum
To be more specific:

`UPPERCASETYPE` was changed to `UppercaseType`
`type_new` was changed to `Type::new`
`type_function(value)` was changed to `value.method()`
Diffstat (limited to 'src/libstd/rt/kill.rs')
-rw-r--r--src/libstd/rt/kill.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/kill.rs b/src/libstd/rt/kill.rs
index cfd8e46dfdb..2bf4543df50 100644
--- a/src/libstd/rt/kill.rs
+++ b/src/libstd/rt/kill.rs
@@ -57,7 +57,7 @@ struct KillHandleInner {
 
     // Shared state between task and children for exit code propagation. These
     // are here so we can re-use the kill handle to implement watched children
-    // tasks. Using a separate ARClike would introduce extra atomic adds/subs
+    // tasks. Using a separate Arc-like would introduce extra atomic adds/subs
     // into common spawn paths, so this is just for speed.
 
     // Locklessly accessed; protected by the enclosing refcount's barriers.
@@ -217,7 +217,7 @@ impl KillHandle {
             // Exit code propagation fields
             any_child_failed: false,
             child_tombstones: None,
-            graveyard_lock:   LittleLock(),
+            graveyard_lock:   LittleLock::new(),
         }));
         (handle, flag_clone)
     }