crosvm/vhost_user_devices
Chirantan Ekbote 056a3ec8fe Use spawn_blocking() in DeviceReqHandler::run
This lets us offload the blocking accept() call to another thread so
that the main thread can continue handling other operations.

BUG=b:179755651
TEST=cargo test

Change-Id: I1372a13e662fe4ad5c99764788550a444d46170d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2987588
Auto-Submit: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2021-08-17 11:48:08 +00:00
..
src Use spawn_blocking() in DeviceReqHandler::run 2021-08-17 11:48:08 +00:00
Cargo.toml