[slime-devel] Re: Using SLIME with OpenMCL with Obj-C bridge
Phil
pbpublist at comcast.net
Tue Aug 22 08:39:47 UTC 2006
After some clarification and experimentation, it looks like what needs
to happen is something along the lines of (setf
*listener-autorelease-pool* (ccl::create-autorelease-pool)) being
executed on a newly created thread and a corresponding cleanup call that
should be executed before the thread terminates. Do any hooks exist for
this purpose?
Phil wrote:
> I'm having a minor problem using SLIME with OpenMCL and it's Objective-C
> bridge. Specifically, I want the REPL and any other threads that get
> created by SLIME to process commands via OpenMCL to be wrapped by a
> with-autorelease-pool call (which is defined by the bridge) to prevent
> memory leakage when creating Obj-C objects. Where would be the
> appropriate places in swank-openmcl to accomplish this?
>
> Thanks,
> Phil
>
More information about the slime-devel
mailing list