1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Asynchronous events.
//!
//! Only for waking up the driver.

cfg_if::cfg_if! {
    if #[cfg(windows)] {
        mod iocp;
        pub use iocp::*;
    } else if #[cfg(any(
        target_os = "android",
        target_os = "freebsd",
        target_os = "illumos",
        target_os = "linux",
    ))] {
        mod eventfd;
        pub use eventfd::*;
    } else if #[cfg(unix)] {
        mod pipe;
        pub use pipe::*;
    }
}