mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
57c667e07a
Convert the FD executor to have a more similar interface to the uring_executor. This has two benefits. 1) This allows a single wrapper `PollOrRing` to be used. It will select uring or fd transparent to the user, allowing users to get the benefits of uring when available without changing their code. 2) Having the `PendingWaker` and Registered source manage FD lifetime removes the need for custom drop implementations for each Future. This simplifies things so much there is no longer need for the async_core crate which is removed. Change-Id: Ic6c84c4e668cbfe5eddeb75129b34d77f66b096d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2227087 Reviewed-by: Dylan Reid <dgreid@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org> |
||
---|---|---|
.. | ||
msg_on_socket_derive | ||
src | ||
tests | ||
Cargo.toml |