about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-08-10 21:17:37 -0700
committerGitHub <noreply@github.com>2023-08-10 21:17:37 -0700
commit5da7f36485d00e4ac7e58c98b60bd885ebb28a13 (patch)
tree313f7d11b551c70308bcb08b42353c74295bd165 /compiler/rustc_interface/src
parent3791f6ddedf667072a8f4fc3a762676aeeae24eb (diff)
parenta090e97f686a927f7f0e1efead7bfedf86194685 (diff)
downloadrust-5da7f36485d00e4ac7e58c98b60bd885ebb28a13.tar.gz
rust-5da7f36485d00e4ac7e58c98b60bd885ebb28a13.zip
Rollup merge of #114359 - ttsugriy:barrier-simpl, r=cuviper
[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