mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
c286772db8
Upstreams support for Tubes on Windows, splitting Tube into platform specific files. This contains several critical enhancements: * POSIX Tubes support multi producer multi consumer configurations, but Windows has remained strictly SPSC for each direction. Windows cannot support MPMC, and that configuration is not really something we want either. To address that, this CL introduces directional Tubes. A SendTube is clonable, and a RecvTube is not, which gives us MPSC. * This CL also fixes multiple interface conflicts that have developed between Linux & Windows: + send wasn't async on the Linux AsyncTube. + send data wasn't passed as owned on the Linux AsyncTube. + Adds the 'static constraint for AsyncTube::send on POSIX. This is an requirement on Windows. + Event::read_timeout doesn't need to take &mut self, and it wasn't downstream. This CL switches to &self. * Adds the missing notifier.rs file in base. Note that this CL does not attempt to remove balloon's usage of Tube::try_clone. That's a somewhat involved issue that should be tackled in its own CL. Test: tested downstream on Windows & Linux bots, upstream on Linux bots. Bug: b:221484449 Change-Id: I288dbc1d1e42f8ce08258cdaaf85100ca93721ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3536897 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Noah Gold <nkgold@google.com> |
||
---|---|---|
.. | ||
assertions | ||
audio_streams | ||
balloon_control | ||
cros-fuzz | ||
cros_async | ||
cros_asyncv2 | ||
data_model | ||
io_uring | ||
p9 | ||
sync | ||
sys_util | ||
sys_util_core | ||
win_sys_util | ||
win_util | ||
README.md |
Crosvm General Purpose Libraries
The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.
To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.