[EROS-Arch] Package handling...

Robert Wittams robert.wittams@ic.ac.uk
28 Mar 2001 17:16:48 +0100


> 2. Explicit deletion. Deleting the constructor does not need to cause
> instances to die. They run as long as they run.

Well, if instances are sharing their code pages & static data (which
would be normal), 
then you need to delete that when none are using it. So you need to do
reference counting
on that anyway. I think it would be nicer to have the constructor "own"
these things, 
and when it is in a "to be deleted" state, it doesn't make new
instances, and when the number of
instances goes to zero it releases them and self destructs.

Rob