summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-10 23:23:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-10 23:23:49 -0700
commit4abe7b8300a89d4b8c3b3277076e76f20754b27e (patch)
tree071fcf57bcdddd1600de4f2c70e6720061b24be5 /txr.1
parent48d917f2f18f91e418189b7fc41f7a9651e40b42 (diff)
downloadtxr-4abe7b8300a89d4b8c3b3277076e76f20754b27e.tar.gz
txr-4abe7b8300a89d4b8c3b3277076e76f20754b27e.tar.bz2
txr-4abe7b8300a89d4b8c3b3277076e76f20754b27e.zip
gc: add argument to sys:gc.
* gc.c (gc_wrap): Takes argument for requesting full garbage collection. (gc_late_init): Update registration of gc intrinsic. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.112
1 files changed, 11 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 7b8dd653..417a656f 100644
--- a/txr.1
+++ b/txr.1
@@ -64245,7 +64245,7 @@ operator.
.SS* Garbage Collection
.coNP Function @ sys:gc
.synb
-.mets (sys:gc)
+.mets (sys:gc <> [ full ])
.syne
.desc
The
@@ -64259,6 +64259,16 @@ The function returns
if garbage collection is disabled (and consequently nothing is done), otherwise
.codn t .
+The Boolean
+.meta full
+argument, defaulting to
+.codn nil ,
+indicates whether a full garbage collection should be requested.
+
+Even if this argument is
+.codn nil ,
+a full garbage collection may occur due to having been scheduled.
+
.coNP Function @ sys:gc-set-delta
.synb
.mets (sys:gc-set-delta << bytes )