[slime-devel] Long running functions

Elliott Slaughter elliottslaughter at gmail.com
Mon Dec 7 09:30:55 UTC 2009


Hi,

I'd like to interact with a running lisp process while it's executing a
long-running function. Currently, any requests I make during the long
running function call get pipelined until after the function call ends. As a
contrived example, execute (sleep 10) at the REPL, then try to compile (C-c
C-c) a function in another source file while Lisp is busy sleeping.

I've been reading the manual page on swank communication style, and it
sounds like the :spawn option does what I want. Unfortunately, thread
support is not universal, and happens to missing on one of my main
development platforms (SBCL on Windows). Is there any way I can work around
this (e.g. add swank callbacks to my application)? I know this is kind of a
long shot but it would be kind of nice to get this working independent of
implementation thread support.

Thanks.

-- 
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict
the future is to invent it." - Alan Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20091207/2af12ab7/attachment.html>


More information about the slime-devel mailing list