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: Calling Scheme from C and Garbage Collection


Radey Shouman <Radey_Shouman@splashtech.com> writes:

> One could just have a flag used by the gc, to tell it not to link all
> the free cells into the free list.  This way, SCM_NEWCELL need only
> check for a null free list, as before.  In the degenerate case, the
> list would always be null.

I think this is a good idea.

It would be great if you could implement.  :-)

You only need to add a new option in scm_eval_opts (or, perhaps
better, add a new options interface for the garbage collector).

/mdj