From 6189d2e4fb57f4ae830f1bbf1ac6873d174e7343 Mon Sep 17 00:00:00 2001 From: Automatic website updater <> Date: Mon, 23 Mar 2026 13:55:43 +0000 Subject: [PATCH] Automatic website update --- index.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 91 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 9508809..8b9ff2e 100644 --- a/index.html +++ b/index.html @@ -923,10 +923,19 @@ POOL. Syntactic sugar around call-with-resource-from-pool -
Procedure: call-with-resource-from-pool _ _ KEY: #:timeout #:timeout-handler #:max-waiters #:channel #:destroy-resource-on-exception?
+
Procedure: call-with-resource-from-pool _ _ KEY: #:timeout #:timeout-handler #:max-waiters #:channel #:destroy-resource-on-exception? #:delay-logger #:duration-logger

Call PROC with a resource from POOL, blocking until a resource becomes available. Return the resource once PROC has returned.

+

#:delay-logger is called as (delay-logger seconds) with +the time spent waiting for a resource to become available. Defaults to +the pool’s #:delay-logger if not specified. +

+

#:duration-logger is called as (duration-logger seconds) +after PROC completes, whether it returned normally or raised an +exception. Defaults to the pool’s #:duration-logger if not +specified. +

@@ -971,6 +980,20 @@ this limit is exceeded, &resource-pool-too-many-waiters#f (no limit).

+
#:delay-logger
+

Called as (delay-logger seconds) with the time spent waiting for +a resource to become available. Defaults to #f (no logging). +

+
+
#:duration-logger
+

Called as (duration-logger seconds) after the proc passed to +call-with-resource-from-pool completes, whether it returned +normally or raised an exception. Can be overridden per-call via the +#:duration-logger keyword argument to +call-with-resource-from-pool. Defaults to #f (no +logging). +

+
#:scheduler

The Fibers scheduler to use for the pool’s internal fiber. Defaults to the current scheduler. @@ -1041,6 +1064,20 @@ this limit is exceeded, &resource-pool-too-many-waiters#f (no limit).

+
#:delay-logger
+

Called as (delay-logger seconds) with the time spent waiting for +a resource to become available. Defaults to #f (no logging). +

+
+
#:duration-logger
+

Called as (duration-logger seconds) after the proc passed to +call-with-resource-from-pool completes, whether it returned +normally or raised an exception. Can be overridden per-call via the +#:duration-logger keyword argument to +call-with-resource-from-pool. Defaults to #f (no +logging). +

+
#:scheduler

The Fibers scheduler to use for the pool’s internal fiber. Defaults to the current scheduler. @@ -1062,6 +1099,15 @@ the current scheduler. +

+
Procedure: resource-pool-delay-logger a
+

Undocumented procedure. +

+
+ + + +
Procedure: resource-pool-destroy-resource-exception? obj

Return #t if OBJ is a &resource-pool-destroy-resource @@ -1090,6 +1136,15 @@ exception. +

+
Procedure: resource-pool-duration-logger a
+

Undocumented procedure. +

+
+ + + +
Procedure: resource-pool-stats _ KEY: #:timeout

Return an alist of statistics for POOL with the following keys: @@ -1341,7 +1396,7 @@ Next: ,

-
Procedure: call-with-thread _ _ KEY: #:duration-logger #:checkout-timeout #:channel #:destroy-thread-on-exception? #:max-waiters
+
Procedure: call-with-thread _ _ KEY: #:delay-logger #:duration-logger #:checkout-timeout #:channel #:destroy-thread-on-exception? #:max-waiters

Run PROC in THREAD-POOL and return its values, blocking until complete. If called from within a thread that already belongs to THREAD-POOL, PROC is called directly in that thread. @@ -1366,9 +1421,16 @@ Equivalent to per-call #:expire-on-exception?. Defaul #f.

+
#:delay-logger
+

Called as (delay-logger seconds) with the time spent waiting for +a thread to become available. Defaults to the pool’s +#:delay-logger if not specified. +

+
#:duration-logger

Called as (duration-logger seconds) after PROC completes (whether -or not it raised an exception). +or not it raised an exception). Defaults to the pool’s +#:duration-logger if not specified.

#:channel
@@ -1440,13 +1502,13 @@ forever).

#:delay-logger
-

Called as (delay-logger seconds proc) with the time spent waiting -for a thread to become available. +

Called as (delay-logger seconds) with the time spent waiting for +a thread to become available.

#:duration-logger
-

Called as (duration-logger seconds proc) after each procedure -completes. +

Called as (duration-logger seconds) after each procedure +completes, whether it returned normally or raised an exception.

@@ -1533,6 +1595,24 @@ bytes. +
+
Procedure: thread-pool-delay-logger a
+

Return the delay logger for POOL, dispatching on pool type. +

+
+ + + + +
+
Procedure: thread-pool-duration-logger a
+

Return the duration logger for POOL, dispatching on pool type. +

+
+ + + +
Procedure: thread-pool-timeout-error-pool obj

Return the pool from a &thread-pool-timeout-error exception. @@ -2170,9 +2250,11 @@ Next: , Pre request-body-port/knotsknots_web-server resource-pool-channelknots_resource-pool resource-pool-configurationknots_resource-pool +resource-pool-delay-loggerknots_resource-pool resource-pool-destroy-resource-exception?knots_resource-pool resource-pool-destroyed-error-poolknots_resource-pool resource-pool-destroyed-error?knots_resource-pool +resource-pool-duration-loggerknots_resource-pool resource-pool-nameknots_resource-pool resource-pool-statsknots_resource-pool resource-pool-timeout-error-poolknots_resource-pool @@ -2194,6 +2276,8 @@ Next: , Pre thread-nameknots_thread-pool thread-pool-arguments-parameterknots_thread-pool thread-pool-default-checkout-timeoutknots_thread-pool +thread-pool-delay-loggerknots_thread-pool +thread-pool-duration-loggerknots_thread-pool thread-pool-resource-poolknots_thread-pool thread-pool-timeout-error-poolknots_thread-pool thread-pool-timeout-error?knots_thread-pool