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

[library/std] Replace condv while loop with cvar.wait_while. #114359

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Aug 2, 2023

  1. [library/std] Replace condv while loop with cvar.wait_while.

    `wait_while` takes care of spurious wake-ups in centralized place,
    reducing chances for mistakes and potential future optimizations
    (who knows, maybe in future there will be no spurious wake-ups? :)
    ttsugriy committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    a090e97 View commit details
    Browse the repository at this point in the history