[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-nio, created. v2.1.0-204-gf543019
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-nio, created. v2.1.0-204-gf543019 |
Date: |
Sun, 18 Mar 2012 19:23:41 +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=f5430195866396f175a3bdfac6f6e203308e6063
The branch, wip-nio has been created
at f5430195866396f175a3bdfac6f6e203308e6063 (commit)
- Log -----------------------------------------------------------------
commit f5430195866396f175a3bdfac6f6e203308e6063
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 18:47:42 2012 +0100
nio: tweak to default buffer sizes
* module/ice-9/nio.scm (fdes->nio-port): Silly tweak to default buffer
sizes.
commit 12ed178c1b14c5ef1e110058cd20b9186c307d08
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 18:44:43 2012 +0100
nio: current-nio-thread parameterization tweak
* module/ice-9/nio.scm (run-nio-thread): Parameterize the current thread
here instead of in create-nio-thread so that the parameterization is
not captured all the time, and so that it is in place for the
handler. An optimization, mostly.
* module/web/server/nio.scm (client-loop): Rely on current-nio-thread
working in the after-suspend thunk.
commit 2a8d5432cd53ab561e3625baf484a51239901a68
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 10:41:18 2012 +0100
add (web server nio)
* module/web/server/nio.scm: New file, an NIO-based HTTP server.
* module/Makefile.am: Add to build.
commit f412be9159592259a14a8e5d7500eb97ef0821e3
Author: Andy Wingo <address@hidden>
Date: Fri Mar 16 13:06:14 2012 +0100
add (ice-9 nio)
* module/ice-9/nio.scm: New file, a nonblocking IO system based on epoll
and coroutines.
* libguile/nio.c:
* libguile/nio.h: New files, providing non-blocking read(2), write(2),
and accept(2) primitives.
* libguile/Makefile.am:
* module/Makefile.am: Add to build.
commit 4bff90f1dd49cda21c1c5f4a34325e6ed1801e7f
Author: Andy Wingo <address@hidden>
Date: Thu Mar 15 12:16:22 2012 +0100
add (ice-9 epoll)
* configure.ac: Add checks for sys/epoll.h, epoll_create, and
epoll_create1.
* libguile/poll.c (scm_primitive_epoll_create, scm_primitive_epoll_ctl)
(scm_primitive_epoll_wait): New primitives for (ice-9 epoll).
Registered via a scm_init_epoll extension.
* module/Makefile.am: Add ice-9/epoll.scm.
* module/ice-9/epoll.scm: New file.
commit b91d05fa96dc2737b546f12e5f4c75cac553e6fe
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 17:03:27 2012 +0100
setsockopt can take an fd
* libguile/socket.c (scm_setsockopt): Accept a raw FD in addition to
file ports.
commit d46a52d5de3172c5d885f6b2b92666211b9fcacd
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 10:41:03 2012 +0100
http: allow custom read-line / continuation-line? functions
* module/web/http.scm (read-line): Rename from read-line*. Just use
string-trim-right instead of our loop; the previous behavior was
always falling through to the "substring" case because of \r.
(continuation-line?): New predicate.
(read-continuation-line): Take read-line and continuation-line? as
arguments.
(read-header, read-headers, read-request-line, read-response-line):
Take optional read-line and (for the first two) continuation-line?
predicates, so that client code can override these if desired.
commit 9c2ee2aade34f2f4b9d6e077ad8d3cf7c581970d
Author: Andy Wingo <address@hidden>
Date: Fri Mar 16 18:13:06 2012 +0100
add accept-fdes
* libguile/socket.c (scm_accept_fdes): New function.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-nio, created. v2.1.0-204-gf543019,
Andy Wingo <=