diff --git a/index.html b/index.html index 73c16cf..ada69a3 100644 --- a/index.html +++ b/index.html @@ -1,46 +1,34 @@ - + - +
-[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Guile Knots is a library providing tools and patterns for programming +with Guile Fibers. Guile Knots +provides higher level building blocks for writing programs using Guile +Fibers, including managing code that can’t run in a thread used by +fibers. Also included is a web server implementation using Fibers, +which while being similar to the web server provided by Fibers, can +provide some benefits in specific circumstances. +
+ + + + + + +The following is the list of modules provided by this library.
+[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented macro.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented procedure.
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented macro.
Undocumented macro.
Call PROC with a resource from POOL, blocking until a resource becomes available. Return the resource once PROC has returned.
@@ -594,8 +494,8 @@ available. Return the resource once PROC has returned. -Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
This record type has the following fields:
-This record type has the following fields:
-pool
pool
This record type has the following fields:
-pool
pool
This record type has the following fields:
-pool
waiters-count
pool
waiters-count
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented macro.
Undocumented macro.
Undocumented macro.
Undocumented macro.
Send PROC to the thread pool through CHANNEL. Return the result of PROC. If already in the thread pool, call PROC immediately.
@@ -897,8 +742,8 @@ PROC. If already in the thread pool, call PROC immediately. -Undocumented procedure.
Undocumented procedure.
Return a channel used to offload work to a dedicated thread. ARGS are the arguments of the thread pool procedure.
@@ -925,8 +770,8 @@ the arguments of the thread pool procedure. -Set the name of the calling thread to NAME. NAME is truncated to 15 bytes.
@@ -935,8 +780,8 @@ bytes. -Return the name of the calling thread as a string.
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Make an operation that will succeed when PORT is readable.
Make an operation that will succeed when PORT is writable.
Undocumented procedure.
Undocumented procedure.
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
This record type has the following fields:
-thunk
port
thunk
port
This record type has the following fields:
-thunk
port
thunk
port
This record type has the following fields:
-thunk
port
thunk
port
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
Undocumented procedure.
Returns a new port which translates non-encoded data into a HTTP chunked transfer encoded data and writes this to PORT. Data written to this port is buffered until the port is flushed, at which point it is all @@ -1305,8 +1055,8 @@ true. -
Undocumented procedure.
Undocumented procedure.
Undocumented procedure.
Run the knots web server.
HANDLER should be a procedure that takes one argument, the HTTP request @@ -1342,7 +1092,7 @@ and returns two values, the response and response body.
For example, here is a simple "Hello, World!" server:
(define (handler request) +(define (handler request) (let ((body (read-request-body request))) (values '((content-type . (text/plain))) "Hello, World!"))) @@ -1357,8 +1107,8 @@ sending back to the client. -
"Sanitize" the given response and body, making them appropriate for the given request.
@@ -1381,33 +1131,17 @@ procedure being called at any particular time. -[ << ] | -[ < ] | -[ Up ] | -[ > ] | -[ >> ] | -- | - | - | - | [Top] | -[Contents] | -[Index] | -[ ? ] | -
This record type has the following fields:
-bytes-read
bytes-read
[Top] | -[Contents] | -[Index] | -[ ? ] | -
- This document was generated on June 24, 2025 using texi2html 5.0. -
-- The buttons in the navigation panels have the following meaning: -
-Button | -Name | -Go to | -From 1.2.3 go to | -
---|---|---|---|
[ << ] | -FastBack | -Beginning of this chapter or previous chapter | -1 | -
[ < ] | -Back | -Previous section in reading order | -1.2.2 | -
[ Up ] | -Up | -Up section | -1.2 | -
[ > ] | -Forward | -Next section in reading order | -1.2.4 | -
[ >> ] | -FastForward | -Next chapter | -2 | -
[Top] | -Top | -Cover (top) of document | -- |
[Contents] | -Contents | -Table of contents | -- |
[Index] | -Index | -Index | -- |
[ ? ] | -About | -About (help) | -- |
- where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure: -
- -Copyright © 2024, 2025 Christopher Baines <mail@cbaines.net>
+This library is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as +published by the Free Software Foundation; either version 3 of the +License, or (at your option) any later version. +
+ + + +Jump to: | C + +D + +F + +M + +N + +P + +R + +S + +T + +W + + |
---|
Jump to: | C + +D + +F + +M + +N + +P + +R + +S + +T + +W + + |
---|
Index Entry | Section | |
---|---|---|
R | ||
resource-pool-default-timeout-handler | knots_resource-pool | |