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

remove frequent global is_shutdown flag check on io operations #5300

Merged
merged 2 commits into from Dec 27, 2022

Commits on Dec 17, 2022

  1. remove frequent global is_shutdown flag check on io operations

    The global flag is still remaining, and used to prevent duplicated
    shutdown and new io operations after shutdown.
    
    On shutdown, the driver flip the shutdown flag of every pending io
    operations and wake them to fail with shutdown error.
    
    Fixes: tokio-rs#5227
    HyeonuPark committed Dec 17, 2022
    Copy the full SHA
    c30924a View commit details
    Browse the repository at this point in the history
  2. apply feedback

    HyeonuPark committed Dec 17, 2022
    Copy the full SHA
    1e75660 View commit details
    Browse the repository at this point in the history