-
-
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
Yielding to finished task results in fatal exception #41347
Comments
This is documented as |
An exception seems reasonable but the current behaviour where Julia abends does not. |
You can |
In general it's just the same as any other data race, where multiple threads can fight over who schedules a certain task. So there's only so much we can do. We should just check the obvious error conditions like yielding to a task that's already in the done state, etc. |
Looks like a dup of #36866. |
…ished tasks (JuliaLang#41410)
Behaviour on Julia 1.5.3, 1.6.1, and 1.7.0-beta2:
The behaviour on Julia 1.4.2 didn't result in this fatal exception:
The text was updated successfully, but these errors were encountered: