diff options
| author | reedlepee <reedlepee123@gmail.com> | 2013-10-20 06:03:09 +0530 |
|---|---|---|
| committer | reedlepee <reedlepee123@gmail.com> | 2013-10-23 01:10:50 +0530 |
| commit | 0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62 (patch) | |
| tree | 6f1dc6e0c50e81caacfcb5cef1a9543d9442e87e /src/libstd/task/spawn.rs | |
| parent | dadb6f0cd9fa7e4b402a0107358acb34002d4895 (diff) | |
| download | rust-0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62.tar.gz rust-0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62.zip | |
Making fields in std and extra : private #4386
Diffstat (limited to 'src/libstd/task/spawn.rs')
| -rw-r--r-- | src/libstd/task/spawn.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs index 7cf0f04c7e9..36bf261bb52 100644 --- a/src/libstd/task/spawn.rs +++ b/src/libstd/task/spawn.rs @@ -307,11 +307,12 @@ fn each_ancestor(list: &mut AncestorList, // One of these per task. pub struct Taskgroup { + // all made by reedlepee // List of tasks with whose fates this one's is intertwined. - tasks: TaskGroupArc, // 'none' means the group has failed. + priv tasks: TaskGroupArc, // 'none' means the group has failed. // Lists of tasks who will kill us if they fail, but whom we won't kill. - ancestors: AncestorList, - notifier: Option<AutoNotify>, + priv ancestors: AncestorList, + priv notifier: Option<AutoNotify>, } impl Drop for Taskgroup { |
