[slime-devel] Re: Really slow to interrupt in Allegro 6.2

Peter Seibel peter at javamonkey.com
Wed Jul 21 17:37:36 UTC 2004


Luke Gorrie <luke at bluetail.com> writes:

> Peter Seibel <peter at javamonkey.com> writes:
>
>> So when I use C-c C-c (slime-interrupt) to try to interrupt a
>> long-running computation in SLIME it sometimes takes a really long
>> time (order 10-60 seconds) before the debugger pops up.
>
> When we use the threads-based :SPAWN communication style we don't
> issue any interrupt/signal, we just send a "please interrupt yourself"
> message down the socket and wait for the reader-thread to process
> it. This means that responsiveness is in the hands of Lisp's thread
> scheduler. With CMUCL cooperative threads this is quite unresponsive
> and possibly it's the same thing with ACL too.
>
> There may be a better way to handle this. Certainly I prefer :SIGIO
> to :SPAWN with CMUCL.

So Allegro has a process-priority that could be set. Perhaps the
reader-thread should be set to high priority?

-Peter

-- 
Peter Seibel                                      peter at javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp





More information about the slime-devel mailing list