mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
PollContext is not thread safe while the underlying epoll is thread safe. This is because PollContext owns EpollEvents, to offer an easy to use interface. User of this package might want a thread safe version of Epoll. This CL decouples events from epoll fd, thus providing thread safe epoll. BUG=None TEST=cargo build and run Change-Id: I786b1d186664fdb4a95ce4d3062b044d27b74d40 Reviewed-on: https://chromium-review.googlesource.com/1320429 Commit-Ready: Jingkui Wang <jkwang@google.com> Tested-by: Jingkui Wang <jkwang@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
Cargo.toml |