Is there a way to terminate unintentional busy loops? #433
Unanswered
mikesteele81
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Stop a running operation use the command slime-interrupt (C-c C-b) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using CLOG Builder as an IDE for learning Common Lisp. This evening I accidentally created a busy loop in the REPL. I typed something like the following:
(do ((i 0)) ((> i 10) ('t)) (princ i))
SBCL immediately became pegged at 100% CPU usage within a single thread. My browser also became unresponsive and started to consume CPU resources while its memory usage climbed until it crashed.
Is there any way for me to abort a runaway computation when something like this happens? So far my only method has been to terminate SBCL.
Beta Was this translation helpful? Give feedback.
All reactions