Start a thread to wake an async executor when the OS's I/O event notifier gathers that the hardware is ready.
If you're writing a Rust library to handle hardware asynchronously, you should use this crate. This library automatically wakes futures by registering a waker with a device that you construct with a file descriptor.
Licensed under any of - Apache License, Version 2.0, (LICENSEAPACHE20.txt or https://www.apache.org/licenses/LICENSE-2.0) - MIT License, (LICENSEMIT.txt or https://mit-license.org/) - Boost Software License, Version 1.0, (LICENSEBOOST10.txt or https://www.boost.org/LICENSE1_0.txt)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.
If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.