diff options
Diffstat (limited to 'src/libgreen/task.rs')
| -rw-r--r-- | src/libgreen/task.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libgreen/task.rs b/src/libgreen/task.rs index 0c549fa66c1..428b6414412 100644 --- a/src/libgreen/task.rs +++ b/src/libgreen/task.rs @@ -24,7 +24,6 @@ use std::raw; use std::rt::Runtime; use std::rt::local::Local; use std::rt::mutex::NativeMutex; -use std::rt::rtio; use std::rt::stack; use std::rt::task::{Task, BlockedTask, TaskOpts}; use std::rt; @@ -468,14 +467,6 @@ impl Runtime for GreenTask { sched.run_task(me, sibling) } - // Local I/O is provided by the scheduler's event loop - fn local_io<'a>(&'a mut self) -> Option<rtio::LocalIo<'a>> { - match self.sched.as_mut().unwrap().event_loop.io() { - Some(io) => Some(rtio::LocalIo::new(io)), - None => None, - } - } - fn stack_bounds(&self) -> (uint, uint) { let c = self.coroutine.as_ref() .expect("GreenTask.stack_bounds called without a coroutine"); |
