mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
b31f613dbe
Sometimes the blocking pool worker thread wouldn't start the blocking task in time before the shutdown sequence. Now it uses a channel to wait for it to start. Also, the test took 10 seconds (BlockingPool::shutdown timeout) and leaked a thread. Now it uses a channel to cleanly shutdown the thread. Takes 20 ms on my machine. I've verified that the test still fails for the old, leaky detach implementation. BUG=b:272587712,b:270986145 Change-Id: Ibcc39a7129deaabbfed8023276da8c6dc48605bc Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4327466 Commit-Queue: Frederick Mayle <fmayle@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |