crosvm/sync
Pi-Hsun Shih f78b278d0f Revert "sync: Add wait_while variants to condvar wrapper"
This reverts commit 01743e49eb.

Reason for revert: break snapshot builders: https://ci.chromium.org/ui/p/chromeos/builders/postsubmit/atlas-snapshot/39409/overview

Original change's description:
> sync: Add wait_while variants to condvar wrapper
>
> wait_while and wait_timeout_while are similar to wait and wait_timeout,
> but they implicitly wrap the wait in a while loop to handle spurious
> wakeups.
>
> BUG=b:192243046
> TEST=cargo test
>
> Change-Id: I2b4c2b6784df9128872772880e7045a09d1d8c22
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2992161
> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
> Tested-by: kokoro <noreply+kokoro@google.com>
> Commit-Queue: Benjamin Gordon <bmgordon@chromium.org>

Bug: b:192243046
Change-Id: I64794afd5b1df9d513da01944017affbba479d90
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2995507
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2021-06-30 04:23:47 +00:00
..
src Revert "sync: Add wait_while variants to condvar wrapper" 2021-06-30 04:23:47 +00:00
Cargo.toml edition: Update sync crate to 2018 edition 2019-03-17 14:38:44 -07:00