[DGD]Swapped-out objects

Tavis Elliott tavise at nwlink.com
Wed Jun 14 10:03:57 CEST 2000


I was recently looking at the reset() functionality I have implemented, and it
occured to me that it is going to sweep through _all_ objects to call reset().
 This means any swapped-out objects will get sucked back into memory.  Is there
anyway I can tell if an object is swapped out before I call reset() on it, and
leave it peacefully where it is?

Followup:  Assuming I can accomplish the above, is there a way to have some
object get called when an object is swapped back _in_ to see if it needs reset()
called on it?

Thanks for any help!

If all else fails I guess I'll start a DB somewhere that tracks objects and
'last-touched' type information.  Now that would be something interesting for
status() to return about an object.  The last time any function was called in
the object.

Tavis
http://www.nwlink.com

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



More information about the DGD mailing list