You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the terminal, Ctrl+C will interrupt some code, like sleep(1000), but not number-crunching code like tight loops. For this, the Julia client has special code that checks for quickly repeating interrupt signals, which creates a "super interrupt":
Schermopname.2022-09-05.om.11.32.35.mov
In Pluto, we have the following code to repeat the Ctrl+C signal:
This sort-of works (not on Windows), but it will occasionally kill the entire Julia process.
Can you create an example of interrupting while true end using Malt.jl? Can you consistently repeat this multiple times in the same process? Maybe this can be included in the tests?
Maybe this could be included in Malt.jl API, like interrupt(worker; aggressive=true)?
The text was updated successfully, but these errors were encountered:
In the terminal, Ctrl+C will interrupt some code, like
sleep(1000)
, but not number-crunching code like tight loops. For this, the Julia client has special code that checks for quickly repeating interrupt signals, which creates a "super interrupt":Schermopname.2022-09-05.om.11.32.35.mov
In Pluto, we have the following code to repeat the Ctrl+C signal:
https://github.com/fonsp/Pluto.jl/blob/70a80786fe9f5c3fe1c6c1368eb937a7e0288305/src/evaluation/WorkspaceManager.jl#L615-L649
This sort-of works (not on Windows), but it will occasionally kill the entire Julia process.
Can you create an example of interrupting
while true end
using Malt.jl? Can you consistently repeat this multiple times in the same process? Maybe this can be included in the tests?Maybe this could be included in Malt.jl API, like
interrupt(worker; aggressive=true)
?The text was updated successfully, but these errors were encountered: