mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
5590a24b1b
Add an optional deadline to BlockingPool::shutdown. Any worker threads that have not yet exited once the deadline expires will be detached. This ensures that we don't end up blocking indefinitely while waiting for worker threads to exit. BUG=none TEST=unit tests Change-Id: I6d7e73e1c95a934a4fd80825a9d44187532408b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3058842 Auto-Submit: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |