diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-28 10:27:34 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:36 -0700 |
| commit | b9b0ed521da4f0ff7e9d0ff4ca54a4f73b2d9cbd (patch) | |
| tree | a1727be67672e2c362088f6ba4a0f67c5c60a715 /src/libgreen/stack.rs | |
| parent | eb08e8fec2d43bc325ae869fcf10a597f38635db (diff) | |
| download | rust-b9b0ed521da4f0ff7e9d0ff4ca54a4f73b2d9cbd.tar.gz rust-b9b0ed521da4f0ff7e9d0ff4ca54a4f73b2d9cbd.zip | |
green: Switch field privacy as necessary
Diffstat (limited to 'src/libgreen/stack.rs')
| -rw-r--r-- | src/libgreen/stack.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgreen/stack.rs b/src/libgreen/stack.rs index 053d73c010e..497c1dc664a 100644 --- a/src/libgreen/stack.rs +++ b/src/libgreen/stack.rs @@ -15,9 +15,9 @@ use std::libc; /// A task's stack. The name "Stack" is a vestige of segmented stacks. pub struct Stack { - priv buf: MemoryMap, - priv min_size: uint, - priv valgrind_id: libc::c_uint, + buf: MemoryMap, + min_size: uint, + valgrind_id: libc::c_uint, } // Try to use MAP_STACK on platforms that support it (it's what we're doing @@ -126,7 +126,7 @@ impl Drop for Stack { pub struct StackPool { // Ideally this would be some datastructure that preserved ordering on // Stack.min_size. - priv stacks: ~[Stack], + stacks: ~[Stack], } impl StackPool { |
