diff options
author | Carl Lerche <me@carllerche.com> | 2019-11-20 00:05:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 00:05:14 -0800 |
commit | 69975fb9601bbb21659db283d888470733bae660 (patch) | |
tree | 8db7c9a31e4125646634af09e197ae6479e10cc4 /tokio/src/signal | |
parent | 7c8b8877d440629ab9a27a2c9dcef859835d3536 (diff) |
Refactor the I/O driver, extracting slab to `tokio::util`. (#1792)
The I/O driver is made private and moved to `tokio::io::driver`. `Registration` is
moved to `tokio::io::Registration` and `PollEvented` is moved to `tokio::io::PollEvented`.
Additionally, the concurrent slab used by the I/O driver is cleaned up and extracted to
`tokio::util::slab`, allowing it to eventually be used by other types.
Diffstat (limited to 'tokio/src/signal')
-rw-r--r-- | tokio/src/signal/unix.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tokio/src/signal/unix.rs b/tokio/src/signal/unix.rs index 8551e85c..bb0afffe 100644 --- a/tokio/src/signal/unix.rs +++ b/tokio/src/signal/unix.rs @@ -5,8 +5,7 @@ #![cfg(unix)] -use crate::io::AsyncRead; -use crate::net::util::PollEvented; +use crate::io::{AsyncRead, PollEvented}; use crate::signal::registry::{globals, EventId, EventInfo, Globals, Init, Storage}; use crate::sync::mpsc::{channel, Receiver}; |