about summary refs log tree commit diff
path: root/src/libstd/rt/kill.rs
diff options
context:
space:
mode:
authorreedlepee <reedlepee123@gmail.com>2013-10-20 08:56:42 +0530
committerreedlepee <reedlepee123@gmail.com>2013-10-23 01:10:50 +0530
commitad465441ba3424cc5bcba2227c6a42ffe09fd77f (patch)
tree6ee335e4b7e144450fdc2e1d729602cc5a70148e /src/libstd/rt/kill.rs
parent0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62 (diff)
Removed Unnecessary comments and white spaces #4386
Diffstat (limited to 'src/libstd/rt/kill.rs')
-rw-r--r--src/libstd/rt/kill.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libstd/rt/kill.rs b/src/libstd/rt/kill.rs
index 603e6627ee4..19f17ca966d 100644
--- a/src/libstd/rt/kill.rs
+++ b/src/libstd/rt/kill.rs
@@ -215,22 +215,21 @@ pub struct KillHandle(UnsafeArc<KillHandleInner>);
 
 /// Per-task state related to task death, killing, failure, etc.
 pub struct Death {
-    // all made priv by reedlepee
     // Shared among this task, its watched children, and any linked tasks who
     // might kill it. This is optional so we can take it by-value at exit time.
-     kill_handle:     Option<KillHandle>,
+    kill_handle:     Option<KillHandle>,
     // Handle to a watching parent, if we have one, for exit code propagation.
-     priv watching_parent: Option<KillHandle>,
+    priv watching_parent: Option<KillHandle>,
     // Action to be done with the exit code. If set, also makes the task wait
     // until all its watched children exit before collecting the status.
-     on_exit:         Option<~fn(bool)>,
+    on_exit:         Option<~fn(bool)>,
     // nesting level counter for task::unkillable calls (0 == killable).
-     priv unkillable:      int,
+    priv unkillable:      int,
     // nesting level counter for unstable::atomically calls (0 == can deschedule).
-     priv wont_sleep:      int,
+    priv wont_sleep:      int,
     // A "spare" handle to the kill flag inside the kill handle. Used during
     // blocking/waking as an optimization to avoid two xadds on the refcount.
-     priv spare_kill_flag: Option<KillFlagHandle>,
+    priv spare_kill_flag: Option<KillFlagHandle>,
 }
 
 impl Drop for KillFlag {