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

add Interest::PRIORITY and ready and ready_mut functions to AsyncFd #5566

Merged
merged 25 commits into from
Jun 6, 2023

Commits on May 29, 2023

  1. Configuration menu
    Copy the full SHA
    b8f1d0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0ddd93 View commit details
    Browse the repository at this point in the history
  3. add target cfg for docs

    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    3fcc4ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9780946 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d33a34 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5fdb52f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    024f16e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fd24209 View commit details
    Browse the repository at this point in the history
  9. add READ_CLOSED to the priority readiness

    priority is really a special kind of read; we want to know when no more data will come
    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    735dd9f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3ea6402 View commit details
    Browse the repository at this point in the history
  11. keep old behavior for AsyncFd::new

    it only uses the readable and writable interests. AsyncFd::with_interest can be used for e.g. the priority interest, or for exclusively read or write readiness.
    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    69c01cf View commit details
    Browse the repository at this point in the history
  12. add AsyncFd::ready instead of AsyncFd::priority_ready

    ready really the old readiness function, which has now been made public and renamed to just `ready` for consistency with e.g. TcpStream
    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    07fea45 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4a254e9 View commit details
    Browse the repository at this point in the history
  14. fix doc comment

    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    720d8fc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b0d1131 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2700d7f View commit details
    Browse the repository at this point in the history
  17. document clearing of readiness on the ready functions

    it is important to clear only the readiness corresponding to an operation that was actually observed to block, especially when using combined interests
    folkertdev committed May 29, 2023
    Configuration menu
    Copy the full SHA
    462c926 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    920e1fb View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c3de66e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    034bd78 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4633bca View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    395fe37 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    81cb2bb View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    6837709 View commit details
    Browse the repository at this point in the history
  2. Update tokio/Cargo.toml

    Co-authored-by: Alice Ryhl <aliceryhl@google.com>
    carllerche and Darksonn committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ab05c9f View commit details
    Browse the repository at this point in the history