guile-commits
[Top][All Lists]
Advanced

[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.1.0-199-g58942f3
Date: Mon, 12 Mar 2012 16:13:00 +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=58942f30d6e7dd58350b8f4bce863e597dd94b43

The branch, wip-threaded-http-server has been created
        at  58942f30d6e7dd58350b8f4bce863e597dd94b43 (commit)

- Log -----------------------------------------------------------------
commit 58942f30d6e7dd58350b8f4bce863e597dd94b43
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 f20ae551a1666e93df694060bce625a48c2c3767
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 31a04ee23982f2834fb19c89b5356bc551108e6d
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 5f54be9b3d48c175bc488b2a9324da9df76bedd1
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 c62bbee320ef8e48618bd4bb090d8a2a8ee70862
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]