[plt-scheme] Cooperating with 3m
On 1/2/06, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > 4. <1.2 Embedding MzScheme into a Program>: "MzScheme3m can be embedded
> > the same as MzScheme, as long as the embedding program cooperates with the
> > precise garbage collector as described in section 3.1." But no explicit
> > instruction of how to build such a program is given.
>
> I'll have to work on this. The MzScheme library name is the same as
> non-3m, except with "3m" in the name, and there's no separate GC
> library (because the GC is folded into the MzScheme library). Also, the
> embedding program must use scheme_set_stack_base() with non-zero
> arguments.
Why does the non-conservative collector need to know the stack base?