[slime-devel] updating slime during idle time
Chris Baker
electro at 1939worldsfair.com
Sun May 29 16:38:21 UTC 2005
Helmut Eller <heller at common-lisp.net> writes:
> Chris Baker <electro at 1939worldsfair.com> writes:
>
>> Hi Slimers,
>>
>> I've recently started running slime with clisp on windows. This works
>> great for most things, but now I'm starting to do windows gui
>> programming, and windows wants each program to have it's own event
>> loop, which interferes with slime, which has its own server update
>> loop. Unfortunately, clisp is single threaded, so I can only update
>> windows events or update slime requests at a given time. Is there a
>> function I can call periodically to process slime requests at idle
>> time? Or alternately, can I add a hook to swank so I can pump windows
>> events when slime isn't processing anything?
>
> There's little special support for this.
>
> You could call something like
>
> (process-available-input (connection.socket-io *connection*)
> #'read-from-emacs)
This works great, thanks :)
cbb
--
09:34:17 up 11 days, 11:43, 2 users, load average: 0.06, 0.11, 0.11
More information about the slime-devel
mailing list