[DGD] Re: A slight confusion about light-weight objects

Stephen Schmidt schmidsj at union.edu
Mon Mar 29 18:02:50 CEST 2004


On Mon, 29 Mar 2004, Erwin Harte wrote:
> So you can do something like this, it looks like:
>
>   object a, b, master;
>   master = compile_object("/data/foo");
>   a = new_object(master);
>   a->set_some_data(...);
>   b = new_object(a);

In this case, is master a LWO or not? And would the existence of
master prevent a or b from being cleaned up in the LWO way?

I think the answers are that master is not a LWO but a and b
will be removed when there are no references to them despite
the existence of master (as long as master keeps no reference
to a and b).

Steve



_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list