On Mon, 26 Aug 2002, Nicholas Clark wrote:
> All ways of doing deterministic destruction seem to have considerable
> overhead.

One possible alternative would be to have file handles and other objects
with destructors that have to be called in a timely fashion keep
ref-counts.  When the refcount drops to zero, they release whatever
critical resource they are holding.  Then the GC comes by later to reclaim
the memory.

/s

Reply via email to