|
From: | Stéphane Corthésy |
Subject: | Re: Re[4]: GDL2 on MacOS X |
Date: | Sat, 30 Nov 2002 17:58:40 +0100 |
On Thursday, November 21, 2002, at 04:21 PM, Manuel Guesdon wrote:
On Thu, 21 Nov 2002 12:33:42 +0100 Stéphane Corthésy <address@hidden> wrote:| On Thursday, Nov 21, 2002, at 12:06 Europe/Zurich, Manuel Guesdon wrote:| > | > I don't see how GDL2 could avoid garbage colection or similar | > mechanism. | > See http://www.gnustep.org/resources/documentation/gdl_2.html | > (Resolving cycles within your model. A garbage collector) | | | NeXT solved the problem, didn't they?| If you have an EOObject registered in an EOEditingContext, it may/will| have retain-cycles, due to relationships between EOs, and when you| unregister the object from the EC (when the EC is itself dealloc'ed, or | the object is refaulted), then the object shall clear its EOProperties,| i.e. all EORelationships of the object shall be set to nil, thus | breaking retain-cycles. See -[NSObject(EOClassDescription) | clearProperties]. Wouldn't it be enough?There's also EOModel, EOEntities, EOErelationships, EOAttributes,... objects. Many of them have references on other objects (see EOEntity/EORelationship for exemple). I'm not an expert about this, we've mainly used/followed previous gdl versionmanagement for these objects. If there's a prouved-to-work solution, I'll be happy to switch.
I don't have one.I suggested that mainly because I didn't know that this GC could work with not GC-classes and was different than the Boehme GC, as someone kindly explained me.
BTW, about gdl2 on MacOSX, isn't it possible to use GNUstep extensions (GC clases) ?
I haven't tried yet to compile this framework, but I will.
Manuel -- ______________________________________________________________________ Manuel Guesdon - OXYMIUM <address@hidden> 14 rue Jean-Baptiste Clement - 93200 Saint-Denis - France Tel: +33 1 4940 0999 - Fax: +33 1 4940 0998
Stéphane
[Prev in Thread] | Current Thread | [Next in Thread] |