[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.0.5-45-g3d5909e |
Date: |
Sat, 11 Feb 2012 17:29:09 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=3d5909ebc2df5a6dca41488aae99f4c3a319249d
The branch, wip-threaded-http-server has been created
at 3d5909ebc2df5a6dca41488aae99f4c3a319249d (commit)
- Log -----------------------------------------------------------------
commit 3d5909ebc2df5a6dca41488aae99f4c3a319249d
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 22:12:26 2012 +0100
http web server: allow concurrent write operations
* module/web/server/http.scm (<http-server>, http-open)
(read-request!, write-request!, enqueue-write!, http-write): As in the
previous commit, add support for concurrent writes.
(http-read): Pop off keepalive ports in this, the main loop.
(http-close): Shut down writers appropriately.
commit c3a5de99d01f288af58a2cc2f1a6ea2bd0dfafc5
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 21:41:36 2012 +0100
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.
commit d7e58e6a0f04ca1e05e4c89a57d17f40f62228b8
Author: Andy Wingo <address@hidden>
Date: Tue Feb 7 14:44:44 2012 +0100
add ability to wake up the poll() in http.scm
* module/web/server/http.scm (make-waker, flush-wake-port): New
functions, to wake up a poll().
(http-open): Add a wakeup port to the poll set.
(http-read): Handle the wakeup port specially.
commit 5503739efb9f01761576029d558d0db3d0874bc3
Author: Andy Wingo <address@hidden>
Date: Mon Feb 6 20:12:29 2012 +0100
add ice-9 thread-pool
* module/ice-9/thread-pool.scm: New file.
* module/Makefile.am: Add to build.
commit 38b4744d74d96a2188b640f6cee6d91a7690e166
Author: Andy Wingo <address@hidden>
Date: Mon Feb 6 18:01:17 2012 +0100
add (ice-9 async-queue)
* module/ice-9/async-queue.scm: New file.
* module/Makefile.am: Add it to the make file.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-threaded-http-server, created. v2.0.5-45-g3d5909e,
Andy Wingo <=