mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
Implement `run_async` method in `Worker` for the video device. `run_async` is necessary for implementing vhost-user video device, which prefers async wait loop. For now, the async runner depends on the wrapper of WaitContext, which the implementation of decoder device depends on, rather than making the decoder device async. In addition, this commit does not unify the block `run` and `run_async` yet. BUG=b:179756087 TEST=cargo build succeeds. Change-Id: Iec14a342bade14bf1f68ec0211da3dd2b52c85da Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3783295 Commit-Queue: Takaya Saeki <takayas@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |