[plt-scheme] What is the difference between stop and kill key commands?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Aug 3 03:57:24 EDT 2007

Kill shuts down the custodian (and is not catchable) and stop sends a
break (which is catchable).

Try this infinite loop to see the difference:

(with-handlers ((exn:break?
                 (λ (x)
                   (printf "broken\n"))))
  (let loop () (loop)))

stop will print something, kill won't.

Robby

On 7/29/07, Grant Rettke <grettke at acm.org> wrote:
> There are command both to stop and kill key commands.
>
> What is the difference?
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>

Posted on the users mailing list.