summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-06 20:58:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-06 20:58:30 -0700
commit4adbf9319259d94604c9f5b5d27c3b3e3e0118f0 (patch)
tree8ebf192c9a0761bb8b298814d96523f203256aff /txr.1
parent49944f561aaf44935996cd22e777864aa623a220 (diff)
downloadtxr-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.117
1 files changed, 17 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index b7bfd01c..092e1469 100644
--- a/txr.1
+++ b/txr.1
@@ -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