This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can the Guile library be reentrant



> The limitation of this approach is that you have to guarantee that
> no SCM objects are stored on the stack at a lower level than the
> gh_minor_enter(). Storing them in global places like defined scheme
> variables is still OK. Using the stack within smob functions is also
> OK because these will always be called under gh_minor_enter().

Right.  This is a very similar invariant to the one that Stallman and
I were unable to reliably preserve in Emacs.

I gotta have that stack base.  All the time.  How I get it, I don't care.