diff options
Diffstat (limited to 'src/libsync/comm/select.rs')
| -rw-r--r-- | src/libsync/comm/select.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libsync/comm/select.rs b/src/libsync/comm/select.rs index dc9891dd1ee..669c1c958b8 100644 --- a/src/libsync/comm/select.rs +++ b/src/libsync/comm/select.rs @@ -76,7 +76,6 @@ pub struct Select { /// A handle to a receiver which is currently a member of a `Select` set of /// receivers. This handle is used to keep the receiver in the set as well as /// interact with the underlying receiver. -#[cfg(not(stage0))] pub struct Handle<'rx, T:'rx> { /// The ID of this handle, used to compare against the return value of /// `Select::wait()` @@ -92,23 +91,6 @@ pub struct Handle<'rx, T:'rx> { rx: &'rx Receiver<T>, } -/// Stage0 only -#[cfg(stage0)] -pub struct Handle<'rx, T> { - /// The ID of this handle, used to compare against the return value of - /// `Select::wait()` - id: uint, - selector: &'rx Select, - next: *mut Handle<'static, ()>, - prev: *mut Handle<'static, ()>, - added: bool, - packet: &'rx Packet+'rx, - - // due to our fun transmutes, we be sure to place this at the end. (nothing - // previous relies on T) - rx: &'rx Receiver<T>, -} - struct Packets { cur: *mut Handle<'static, ()> } #[doc(hidden)] |
