-
Notifications
You must be signed in to change notification settings - Fork 24
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
Allow interrupting long-running Julia tasks #104
Comments
I think the solution to this is just having an interrupt function which does |
Nope, no separate tasks for evaluation. :( I agree that's a good approach. |
Probably what you should do is launch the computation in a task, and then have another task that checks every You can then stick a hook into that secondary task that does the interruption when requested. |
This is fixed in a88755d. Or so I hope! Snail now runs evaluations sent on its wire protocol in separate Julia tasks, and they're tracked and interruptible using M-x julia-snail-interrupt-task. The change will be in MELPA in a couple of hours. Feedback and bug reports welcome. |
Right now, a computation kicked off using any of the
julia-snail-send-*
commands cannot be interrupted.The text was updated successfully, but these errors were encountered: