crosvm/sync
Chirantan Ekbote b7cc9f2084 Condvar: Add wait_while and wait_timeout_while
Also use a single &'static str for the panic message.

BUG=b:179755651
TEST=cargo test

Change-Id: I48172ebf0b59ca9c021c1f451badbe7090743f23
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2987584
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Noah Gold <nkgold@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
2021-06-29 15:20:59 +00:00
..
src Condvar: Add wait_while and wait_timeout_while 2021-06-29 15:20:59 +00:00
Cargo.toml edition: Update sync crate to 2018 edition 2019-03-17 14:38:44 -07:00