1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-01 15:20:34 +02:00
guile/module
Andy Wingo f20ae551a1 http web server: allow concurrent read operations
* module/web/server/http.scm (<http-server>): Add fields for a reader
  thread-pool, and some async queues that it operates on.  Also, a flag,
  http-threaded?.
  (http-open): Add #:threaded? and #:read-workers kwargs.  Create a
  thread pool for reading if threads are available.
  (read-request!): New function, factored out of http-read.
  (enqueue-read!, http-read): Instead of reading the client directly,
  enqueue a read.  In the case where threads are not available, this
  will call read-request! directly.  read-request! takes care of adding
  to the handle-queue.  The read polling loop will pop items off the
  handle-queue.
  (seconds-from-now, async-queue-for-each): New helpers.
  (http-write): Shut down the queues and threads, hopefully in a
  nonblocking fashion.
2012-03-12 17:12:37 +01:00
..
ice-9 add ice-9 thread-pool 2012-03-12 17:12:37 +01:00
language elisp rng 2012-03-08 17:08:30 -05:00
oop Merge remote-tracking branch 'origin/stable-2.0' 2011-09-29 18:02:28 +02:00
rnrs Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Merge remote-tracking branch 'origin/stable-2.0' 2012-03-02 17:20:47 +01:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system Merge remote-tracking branch 'origin/stable-2.0' 2012-03-02 17:20:47 +01:00
texinfo Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
web http web server: allow concurrent read operations 2012-03-12 17:12:37 +01:00
Makefile.am add ice-9 thread-pool 2012-03-12 17:12:37 +01:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00