mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
signal: Start adding windows support
This commit is contained in:
committed by
Carl Lerche
parent
1b6893b6f6
commit
8291c3d462
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user