-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IO Dispatcher creates more than 64 threads #2272
New issue
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
Comments
Thanks for pointing it out, I'll rephrase the doc a bit.
|
qwwdfsad
added a commit
that referenced
this issue
Oct 7, 2020
recheej
pushed a commit
to recheej/kotlinx.coroutines
that referenced
this issue
Dec 28, 2020
recheej
pushed a commit
to recheej/kotlinx.coroutines
that referenced
this issue
Dec 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Annotation describes IO Dispatcher like this,
It defaults to the limit of 64 threads or the number of cores (whichever is larger).
As I understood, Maximum number of threads that can be created by Dispatchers.IO is up to 64 because I use only 6core and 12 threads CPU, but my result is a little bit tricky.
This is my code.
and this is the result.
Why is threadpool count bigger than 64?
Does that mean actual threads was created more than 64?
The text was updated successfully, but these errors were encountered: