diff options
| author | Taras Tsugrii <taras.tsugriy@gmail.com> | 2023-08-01 21:53:21 -0700 |
|---|---|---|
| committer | Taras Tsugrii <taras.tsugriy@gmail.com> | 2023-08-01 22:10:40 -0700 |
| commit | a090e97f686a927f7f0e1efead7bfedf86194685 (patch) | |
| tree | fd9f927b820ffc301a7f6e5b73524f4a53ae4a3c /compiler/rustc_interface/src | |
| parent | aa8462b6df138d18a82e3a54d47f3b00bf01c7f4 (diff) | |
| download | rust-a090e97f686a927f7f0e1efead7bfedf86194685.tar.gz rust-a090e97f686a927f7f0e1efead7bfedf86194685.zip | |
[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? :)
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
