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 timer operations #5301

Closed

Commits on Dec 17, 2022

  1. remove frequent global is_shutdown flag check on timer operations

    Make timer driver's is_shutdown flag nonatomic and move it into the driver lock.
    On shtudown, the driver wake the all pending timer with shutdown error.
    
    Simillar to the tokio-rs#5300, but for timer driver not io driver.
    
    Refs: tokio-rs#5227, tokio-rs#5300
    HyeonuPark committed Dec 17, 2022
    Copy the full SHA
    f13a63c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4ec50d9 View commit details
    Browse the repository at this point in the history