[slime-devel] SBCL - slime-restore support (preliminary)

Anton Kovalenko anton at sw4me.com
Thu Aug 19 16:40:48 UTC 2010


Hello SLIME developers,

Just tried to add slime-restore support for snapshots in SBCL on unix.
Patch is in the attachment. 

NB. SBCL is able to save snapshot only when exactly one thread is
running; therefore, using :fd-handler or nil communication style is
mandatory.

My implementation of exec-image currently assumes that SBCL was started
using its full pathname (no PATH variable lookup is done).  There is no
native execve support in SBCL, so I've added a binding using
define-alien-routine. SBCL FFI resolve alien references when they are
called, so this addition shouldn't affect SLIME when this function is
not used (i.e. there should be no problems on UNIX systems that can't
resolve "execve" with dlsym(), unless slime-restore is actually called).
 
-- 
Regards, Anton Kovalenko
+7(916)345-34-02 | Elektrostal' MO, Russia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-sbcl-restore.patch
Type: text/x-diff
Size: 2141 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20100819/e958c72f/attachment.patch>


More information about the slime-devel mailing list