[DGD] preventing objects from ever swapping out
Par Winzell
zell at skotos.net
Tue Apr 6 17:01:26 CEST 2004
> Since there doesn't seem to be an in-built feature to prevent certain
> objects from being swapped out, I'm wondering what would be an
> appropriate way to do it. I was thinking maybe doing a call_out
> intermittently to an empty function would suffice (not sure what
> interval to use though). What do you think?
You cannot fully prevent objects from being swapped out; any state dump
you do will swap every object out (that's how state dumps are created).
In practice, you could add a heartbeat call_out() to an object if you
want to keep it more or less permanently swapped in, sure.
Zell
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list