diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 20:58:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-06 20:58:30 -0700 |
commit | 4adbf9319259d94604c9f5b5d27c3b3e3e0118f0 (patch) | |
tree | 8ebf192c9a0761bb8b298814d96523f203256aff /txr.1 | |
parent | 49944f561aaf44935996cd22e777864aa623a220 (diff) | |
download | txr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.tar.gz txr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.tar.bz2 txr-4adbf9319259d94604c9f5b5d27c3b3e3e0118f0.zip |
New function: call-finalizers.
* gc.c (gc_call_finalizers): New function.
(gc_late_init): Register call-finalizers intrinsic.
* gc.h (gc_call_finalizers): Declared.
* txr.1: documented call-finalizers.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -34111,6 +34111,23 @@ or any other object for finalization. Such registrations made during finalization execution are not eligible for the current phase of finalization processing; they will be processed in a later garbage collection pass. +.coNP Function @ call-finalizers +.synb +.mets (call-finalizers << object ) +.syne +.desc +The +.code call-finalizers +function invokes and removes the finalizers, if any, registered against +.metn object . +If any finalizers are called, it returns +.codn t , +otherwise +.code nil . + +Note: the behavior is unspecified if a finalizer function calls +.codn call-finalizers . + .SS* Modularization .coNP Variable @ self-path .desc |