This is the mail archive of the guile@sourceware.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: gc suggestions


On 27 Jun 2000, Michael Livshin wrote:

> this seems to be a slightly roundabout way of doing things.  a better
> solution, IMHO, would be to still allow new heap segment allocations
> during startup, but to disallow GC.  thoughts?  (I didn't think about
> this for very long).

Yes, you are right.  The intention is only to make the different parts of
guile mostly self-contained, i. e. no spreading of initialization stuff
all around (in fact, this is already mostly the case).

It seems that scm_block_gc could be used to do the job, but even if it is
set the after-gc-hook is run, which is also not initialized until
scm_init_gx is performed.  However, as I said in a previous mail, this may
be a bug.

Best regards
Dirk


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