-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Thread pool of main thread varies depending on how Julia is started #53389
Comments
Yes this is intentional. Thanks for the doc fix. We will have the option of changing this at some point, but in the meantime I don't think it's so strange that if there are any interactive threads, then the main thread is one. |
The part that is a bit more surprising is that the main thread isn't always an interactive thread. (That's also what Valentin seemed to convey with his post here.) |
Depending on whether Julia is started with or without interactive threads, the main thread is in either the interactive or default threadpool:
I find this surprising. Is this intentional? If so, what is the reasoning behind this?
Note that this is wrongly documented since 1.9 (I created a doc fix PR).
Came up in this issue and also seems to be causing problems (see discourse.julialang.org/t/what-is-julia-doing-with-your-threads/110052/20 and the related issue #53269).
The text was updated successfully, but these errors were encountered: