-
-
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
Automatically add threads when calling @spawn
#32770
Comments
The pre-requisite here is #16134. |
This isn't what |
responded to the |
Is not the point here that there are program structures that demand either pre-emptive (software) threads or hardware threads and would otherwise deadlock? Whether or not we call that |
There's always the radical alternative of using LD_PRELOAD to replace all blocking libc calls with versions that yield back into the Julia scheduler. No threads required. |
Yes, of course such programs exist. Adding a |
When starting Julia with only one thread and calling
@spawn
, no additional thread is created. I know that this is because the number of threads is currently static so take this as a feature request, how I would expect the system to work in an ideal world.The text was updated successfully, but these errors were encountered: