mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-03 00:00:05 +02:00
process: Bump tokio-signal version to 0.2
This commit is contained in:
+3
-3
@@ -37,7 +37,7 @@ use mio;
|
||||
use self::tokio_signal::unix::Signal;
|
||||
use std::fmt;
|
||||
use tokio_io::IoFuture;
|
||||
use tokio_core::reactor::{Handle, PollEvented};
|
||||
use tokio_reactor::{Handle, PollEvented};
|
||||
|
||||
#[must_use = "futures do nothing unless polled"]
|
||||
pub struct Child {
|
||||
@@ -62,7 +62,7 @@ impl Child {
|
||||
Child {
|
||||
inner: inner,
|
||||
reaped: false,
|
||||
sigchld: Signal::new(libc::SIGCHLD, handle).flatten_stream(),
|
||||
sigchld: Signal::with_handle(libc::SIGCHLD, handle).flatten_stream(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,6 +224,6 @@ fn stdio<T>(option: Option<T>, handle: &Handle)
|
||||
return Err(io::Error::last_os_error())
|
||||
}
|
||||
}
|
||||
let io = try!(PollEvented::new(Fd(io), handle));
|
||||
let io = try!(PollEvented::new_with_handle(Fd(io), handle));
|
||||
Ok(Some(io))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user