signal: Start adding windows support

This commit is contained in:
Alex Crichton
2018-09-10 11:29:55 -07:00
committed by Carl Lerche
parent 1b6893b6f6
commit 8291c3d462
5 changed files with 351 additions and 1 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
#![cfg(unix)]
extern crate libc;
pub extern crate libc;
extern crate mio;
extern crate tokio_uds;
@@ -148,6 +148,7 @@ impl Stream for Signal {
if !self.reg.poll_read().is_ready() {
return Ok(Async::NotReady)
}
self.reg.need_read();
self.reg.get_ref()
.inner.borrow()
.as_ref().unwrap().1