We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Tokio v1.37.0
Description BlockingPool num_idle_threads is doubly increased, when shutting down before the condvar wait_timeout.
BlockingPool num_idle_threads
condvar wait_timeout
The whole code is:
tokio/tokio/src/runtime/blocking/pool.rs
Lines 519 to 564 in 9c337ca
When BlockingPool is shutting down, the num_idle_threads will be increased at first in
BlockingPool
num_idle_threads
Line 519 in 9c337ca
and then it will doubly be increased in this
Line 564 in 9c337ca
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version
Tokio v1.37.0
Description
BlockingPool num_idle_threads
is doubly increased, when shutting down before thecondvar wait_timeout
.The whole code is:
tokio/tokio/src/runtime/blocking/pool.rs
Lines 519 to 564 in 9c337ca
When
BlockingPool
is shutting down,the
num_idle_threads
will be increased at first intokio/tokio/src/runtime/blocking/pool.rs
Line 519 in 9c337ca
and then it will doubly be increased in this
tokio/tokio/src/runtime/blocking/pool.rs
Line 564 in 9c337ca
The text was updated successfully, but these errors were encountered: