mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
f1ce859903
There are a lot of changes in this one but these are the high-level points: * Both executors now support non-fd futures and it's now possible to start a poll operation on one thread and then await the result inside a UringExecutor on another thread. The reverse doesn't work yet but will once we make UringContext sync. * A few layers of indirection have been removed so hopefully both the implementation and the interface are simpler. * The thread local magic is gone in favor of directly calling methods on an executor. Executor handles can be cheaply cloned to make this easier. * Heap allocations are limited to the spawn and spawn_local methods so it's possible to completely avoid heap allocations if callers only use the run_until method. * The IoSource, Executor, FutureList traits are gone. BUG=none TEST=unit tests Cq-Depend: chromium:2629068 Change-Id: I86053007929c36da66f3b2499cdefce0b5e9a180 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2571401 Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Tested-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> |
||
---|---|---|
.. | ||
msg_on_socket_derive | ||
src | ||
tests | ||
Cargo.toml |