[slime-devel] Why not use system:add-fd-handler in cmucl?

Helmut Eller e9626484 at stud3.tuwien.ac.at
Fri Dec 12 23:16:48 UTC 2003


"Håkon Alstadheim" <haalst at online.no> writes:

> The create-swank-server function in swank-cmucl.lisp has been changed
> from doing:
> 
>   (system:add-fd-handler fd :input #'accept-connection)
> 
> into just doing:
> 
>   (accept-connection fd)
> 
> 
> This means one must enable multi-processing to run slime. I /think/
> the former method is more efficient, but I guess that's marginal. The
> fact that local set up can more easily break slime is a real downside
> though. So what's the upside to this change?

Well, the latter version is simpler and more direct.  I reverted the
change and the CVS version supports both versions.  The fd-handler
variant is the default.

Helmut.




More information about the slime-devel mailing list