search for: finalize_on_exit_mask

Displaying 1 result from an estimated 1 matches for "finalize_on_exit_mask".

2011 Apr 02
0
reg.finalizer(): Multiple finalizers?
....e. calling reg.finalizer() multiple times on the same object? Q2. If so, is the order in which the finalizers are called deterministic? Q3. Is there a particular reason for not being able to replace/remove existing finalizers? I've tried to backtrack the code for reg.finalizer() and I see a FINALIZE_ON_EXIT_MASK flag being set. Could this be unset equally easy as setting it, or is there more to it? Regarding Q2: When running the below tests on Windows with R v2.12.2 patched, v2.13.0 beta, v2.14.0 devel, it seems that there is a last-in-first-out ordering of how the finalizers are called - is that an inte...