This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: gc suggestions
- To: Michael Livshin <mlivshin at bigfoot dot com>
- Subject: Re: gc suggestions
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Tue, 27 Jun 2000 14:37:49 +0200 (MEST)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
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