Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Clarify requirements of AsyncFd #3635

Merged
merged 2 commits into from Mar 22, 2021

Commits on Mar 22, 2021

  1. doc: Clarify requirements of AsyncFd

    Clarifies that users of AsyncFd must set the fd to nonblocking and
    should only poll readiness after failing to read/write.
    
    I made both these mistakes, and Alice Ryhl helped me debug my code. Some
    of the wording paraphrases her explanation to me.
    dzfranklin committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    099fa82 View commit details
    Browse the repository at this point in the history
  2. Update tokio/src/io/async_fd.rs

    Co-authored-by: Alice Ryhl <alice@ryhl.io>
    dzfranklin and Darksonn committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    ccecdc7 View commit details
    Browse the repository at this point in the history