guile-user
[Top][All Lists]
Advanced

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

Re: out-of-order GC


From: Egil Moeller
Subject: Re: out-of-order GC
Date: Mon, 30 Dec 2002 15:05:40 +0100 (CET)

> It sounds like your problem is that the transaction SMOB is holding a
> reference to the connection SMOB, but that the GC system is not aware
> of this.  The transaction SMOB's mark routine should return (or call
> mark on) the connection SMOB.  Thus, until all the transaction SMOBs
> are freed, the connection SMOB will still be in use.

I thought so first, but it turned out, I did have a mark-routine for the
transaction-SMOB that did return the connection-SMOB. The problem
thus never araised when there was a referense to the transaction-SMOB,
only when there where no reference to neither one any more...

-- 
http://redhog.org
GPG Public key: http://redhog.org/PGP%20Public%20key.asc
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!




reply via email to

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