[slime-devel] Re: Slime+cmucl+McClim problem

Thibault Langlois tl at di.fc.ul.pt
Tue Jul 20 21:50:25 UTC 2004


Luke Gorrie <luke <at> bluetail.com> writes:

> 
> Thibault Langlois <tl <at> di.fc.ul.pt> writes:
> 
> > I could not find a solution for the following problem. When I start
> > a McClim application from slime REPL it uses 100% of cpu. 
> 
> Does it work right if you start it outside SLIME? 

Yes.

> And when it's
> chewing CPU what does (mp:all-threads) return?
> 

In the inferior lisp buffer: 
* mp::*all-processes*

(#<Process #<CLIM-CLX::CLX-PORT :HOST "" :DISPLAY-ID 0 {5875EC3D}>'s 
event process.
   {589C6FE5}>
 #<Process Top Level Loop {585E67CD}> #<Process Idle Loop {58006BC5}>)
* 


> Also, to make SLIME does the right thing with threads in McCLIM you
> might want to put this in your ~/.swank.lisp:
> 
>   ;; Use SLIME for all threads.
>   #+CLIM-MP
>   (progn (setq *debugger-hook* #'swank:swank-debugger-hook)
>          (setq swank:*globally-redirect-io* t)
>          (setq swank:*communication-style* :spawn))
 
This really solved the problem ! THANK YOU !
 
Thibault








More information about the slime-devel mailing list