crosvm/base
Frederick Mayle dc3a9018e8 base: handle EINTR in Tube recv methods
`peek_size` blocks until there is data available, so it is actually more
likely to see an EINTR than the `recv_with_fds` call that follows it.

Before, the following command failed had 5 flakes, 3 of which were
clearly caused by EINTR when recving on a tube. After, I saw no flakes.

    ./tools/run_tests --dut=vm --filter-expr="test(boot_test_vm_uring)" --repetitions 100

BUG=b:293463612

Change-Id: Ie0471a46be11d67f38d4d0a5a4793e5ca2fc1633
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4727022
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2023-07-28 01:30:27 +00:00
..
base_event_token_derive
src
tests
.build_test_serial
Cargo.toml