<div dir="ltr">I've been working on a resource project for developing lightweight ("green") threads in Common Lisp, without needing ahead-of-time code walking like in the green-threads library. Part of the project has necessitated adding the ability to save and restore the stack as part of the underlying Common Lisp implementation. I've chosen to use ECL for the project as it is a small and more easily understood codebase.<div><br></div><div>My question is -- would there be any interest in merging this functionality back into ECL proper once I've completed it? The proposed interface is simply:</div><div><br></div><div>(mp:save-stack) -- returns a stack object (can be used as a first-class lisp variable, garbage collected normally, etc.).</div><div>(mp:restore-stack stack-object) -- restores the stack to that given by stack-object. This function does not return.</div><div><br></div><div>Cheers,</div><div>-- Morgon</div></div>