guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scm_remember_upto_here asm volatile


From: Marius Vollmer
Subject: Re: scm_remember_upto_here asm volatile
Date: 01 Jun 2003 20:47:56 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Kevin Ryde <address@hidden> writes:

> Marius Vollmer <address@hidden> writes:
> >
> > But please understand that this is a critical and tricky corner of
> > Guile.  Bugs might show up on odd platforms and might be very
> > sensitive to the environment that scm_remember_upto_here is used in.
> 
> With the bignum code, is it true that the only problem will be if a gc
> starts in another thread at the critical moment?

Yes, I would say so.  And since a GC does only run when all other
threads are stopped in a safe place, there won't be any GCs at
critical moments.

Since this is so convenient, I think we should continue to make this
guarantee (that a GC wont happen spontanously).  Mikael?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]