[DGD] remove_program()

Stephen Schmidt schmidsj at union.edu
Thu May 21 16:37:28 CEST 1998


Second question for ya'll:

What is the intention behind remove_program? If I understand
correctly, it is called whenever the program code of an object
is removed, which happens when both a master copy of an object
and all clones made from it have been destroyed. (The program 
of a master object can survive after the object is destructed,
I think, if either a clone of the object survives or if something
that inherited the old object survived - but corrections are welcome.)

I looked at the DGD kernel lib, and if I understood what I saw,
the only thing it did was some housekeeping concerning resource
allocation and tracking. If I'm not interested in doing that
sort of thing, can I just have:

void remove_program(string objname, int timestamp, int index) { return ; }

in my driver object? Or will something Bad happen? What else do
people use this apply for?

Stephen Schmidt

A general who husbands his reserve until the day following a battle
is commonly, and deservedly, beaten.   
					- Napoleon






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



More information about the DGD mailing list