[slime-devel] Long running functions

Helmut Eller heller at common-lisp.net
Tue Dec 8 08:19:45 UTC 2009


* Elliott Slaughter [2009-12-08 01:21+0100] writes:

> When I try 0 as timeout, I get this error:
>
> The assertion (OR (NOT SWANK::TIMEOUT) (EQ SWANK::TIMEOUT T)) failed.
>
> When I use t as timeout, it does basically what I want, but I'd rather have
> the timeout be immediate (no wait). Is there any way to do this?

Sorry, the argument should indeed be T and not 0.  T means "nowait" and
NIL means wait indefinetly.

> Also, it isn't entirely clear what I should pass as a connection to
> handle-requests. Right now I'm using (or swank::*emacs-connection*
> (swank::default-connection)) which seems to work fine.

Yes, DEFAULT-CONNECTION is the correct value.

Helmut






More information about the slime-devel mailing list