crosvm/devices
Richard d569281cc6 devices: Upstream Windows implementation for Serial
This adds a sync thread that will call `fsync` once a second. This is a
safety measure since Window OS handles flushing automatically, but has been
proven to be somewhat unreliable.

TEST=built and presubmits
BUG=b:233951530

Change-Id: I7f5922da09fd95999bf8a7a40abc3b6ae796eafc
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3764466
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: Richard Zhang <rizhang@google.com>
Commit-Queue: Richard Zhang <rizhang@google.com>
2022-07-15 20:50:16 +00:00
..
src devices: Upstream Windows implementation for Serial 2022-07-15 20:50:16 +00:00
Cargo.toml devices: Upstream Windows implementation for Serial 2022-07-15 20:50:16 +00:00