about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-08-26 21:17:17 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-08-26 21:17:39 -0400
commit5dadee1ee72ae2c12ba6ead0bdb274afe444ceda (patch)
treeed0db70ce11b5479401431671def9fecfffd1f45 /src/libcore
parentedd6d9ea37f55cce3298deb6ef271cb7d03a824a (diff)
downloadrust-5dadee1ee72ae2c12ba6ead0bdb274afe444ceda.tar.gz
rust-5dadee1ee72ae2c12ba6ead0bdb274afe444ceda.zip
minor core/std cleanup
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/task.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index 7afd81c0129..2699c0d3b3d 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -910,7 +910,7 @@ fn each_ancestor(list:        &mut AncestorList,
 }
 
 // One of these per task.
-struct Tcb {
+struct TCB {
     let me:            *rust_task;
     // List of tasks with whose fates this one's is intertwined.
     let tasks:         TaskGroupArc; // 'none' means the group has failed.
@@ -1051,7 +1051,7 @@ fn gen_child_taskgroup(linked: bool, supervised: bool)
                                          mut descendants: new_taskset() }));
             // Main task/group has no ancestors, no notifier, etc.
             let group =
-                @Tcb(spawner, tasks, AncestorList(None), true, None);
+                @TCB(spawner, tasks, AncestorList(None), true, None);
             unsafe { local_set(spawner, taskgroup_key!(), group); }
             group
         }
@@ -1165,7 +1165,7 @@ fn spawn_raw(+opts: TaskOpts, +f: fn~()) {
             let notifier = notify_chan.map(|c| AutoNotify(c));
 
             if enlist_many(child, &child_arc, &mut ancestors) {
-                let group = @Tcb(child, child_arc, ancestors,
+                let group = @TCB(child, child_arc, ancestors,
                                  is_main, notifier);
                 unsafe { local_set(child, taskgroup_key!(), group); }
                 // Run the child's body.