[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.6-38-g440d
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.6-38-g440df85 |
Date: |
Sat, 25 Aug 2012 12:12:46 +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=440df854e8827144fea077b618fc332af3696021
The branch, wip-ethreads has been created
at 440df854e8827144fea077b618fc332af3696021 (commit)
- Log -----------------------------------------------------------------
commit 440df854e8827144fea077b618fc332af3696021
Author: Andy Wingo <address@hidden>
Date: Fri Apr 6 19:44:00 2012 -0700
virtualize read/write/close operations in <eport>
* module/ice-9/eports.scm (<eport>): Rework to virtualize the operations
that actually read and write data, and those that close the underlying
resource.
(<file-data>, <file-eport>): The nio implementation.
(make-eport): New export.
(file-eport-fd, file-eport-port): Renamed to add the "file-" prefix.
* examples/ethreads/memcached-client.scm:
* examples/ethreads/memcached-server.scm:
* module/ice-9/ethreads.scm:
* module/web/server/ethreads.scm: Adapt callers (mostly for eport-fd).
commit 5fb1346a40d27e593cae16986dea88bc7dc163c6
Author: Andy Wingo <address@hidden>
Date: Fri Mar 30 19:36:24 2012 +0200
add examples/ethreads/memcached-{client,server}
* examples/ethreads/memcached-client.scm:
* examples/ethreads/memcached-server.scm: Two new ethreads examples.
Not really optimized, no consideration for memory use, but perhaps
instructive.
commit 79dbf20d85051bf83a5e9ceda6db966ebdff0d3e
Author: Andy Wingo <address@hidden>
Date: Fri Mar 30 19:35:42 2012 +0200
eports tweak
* module/ice-9/eports.scm (flush-buffer, fill-input, ensure-writable):
Instead of making flush-buffer reset cur and end to 0 when the buffer
is empty, make that be the job of the less-frequently-called
fill-input and ensure-writable.
commit 13e2a858269b47a46471f3969b82b2cf3bf1dddc
Author: Andy Wingo <address@hidden>
Date: Fri Mar 30 17:39:32 2012 +0200
eports: nonblocking connect-eport
* module/ice-9/eports.scm (connect-eport): Add implementation of
nonblocking `connect' for eports.
commit e2ab8491444d4795c73a5405828659ee5a9358a7
Author: Andy Wingo <address@hidden>
Date: Fri Mar 30 17:11:22 2012 +0200
nio: add non-blocking connect
* libguile/nio.c (scm_nio_connect):
* module/ice-9/nio.scm (nio-connect): Add non-blocking connect
primitive.
commit 89548caa5955ade17a68628771649c7148907aef
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 22:24:10 2012 +0200
(web server ethreads) TCP_NODELAY tweak
* module/web/server/ethreads.scm (client-loop, socket-loop): Instead of
corking and uncorking the client, just turn on TCP_NODELAY always.
commit ac8c0aa75025fba2eee379d8a735ebdb099bbb01
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 20:46:02 2012 +0200
getsockopt: allow raw file descriptors
* libguile/socket.c (scm_getsockopt): Allow raw file descriptors.
commit da29f8a539455299f0af5d68081623ad686f1b87
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 16:15:36 2012 +0200
eports: add put-utf8-char, put-utf8-string
* module/ice-9/eports.scm (put-latin1-string): Fix a bug.
(put-utf8-char, put-utf8-string): New functions.
commit 8b0bf95a91a2251459668744ceb574b03b14c9fa
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 00:30:28 2012 +0200
(web server ethreads): more use of latin1 accessors
* module/web/server/ethreads.scm (read-http-line, continuation-line?):
More latin1 changes.
commit bfdc56b92320105d4283aaf53d18bccf48d64f65
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 00:14:52 2012 +0200
refactoring to (web server ethreads) read-http-line
* module/web/server/ethreads.scm (read-http-line): Use
get-latin1-string-delimited with a limit on the line length.
commit a925531b8231a119b38f4ec6a5050d219407c978
Author: Andy Wingo <address@hidden>
Date: Tue Mar 27 00:14:08 2012 +0200
add latin1 chars and strings to eports
* module/ice-9/eports.scm: Add functions that deal in latin1.
commit 59ffaaea8c326152f19f95cd6ccb2271200f72a9
Author: Andy Wingo <address@hidden>
Date: Mon Mar 26 00:30:07 2012 +0200
(web server ethreads): Use a large backlog.
* module/web/server/ethreads.scm (open-server): Use a large backlog by
default.
(client-loop): Disable Nagle's algorithm, as we handle buffering
properly.
commit f472e086cf9cc7dc1685d57ec0b1cd0355addd30
Author: Andy Wingo <address@hidden>
Date: Mon Mar 26 00:25:03 2012 +0200
socket: TCP_CORK, TCP_NODELAY
* libguile/socket.c (scm_init_socket): Define TCP_NODELAY and TCP_CORK
if they are available.
commit 4febbff58d72884df538c2d8e4f925fecdc0166a
Author: Andy Wingo <address@hidden>
Date: Sun Mar 25 22:21:48 2012 +0200
EOF fix for continuation-line?
* module/web/server/ethreads.scm (continuation-line?): Fix for EOF.
commit 095967c381de299e30ce7c9e0363f7f4970a4aa3
Author: Andy Wingo <address@hidden>
Date: Fri Mar 23 17:43:30 2012 +0100
eports: some more exports
* module/ice-9/eports.scm: Export putback-u8 and putback-bytevector.
commit 699e2ddb1f90d702d0cbeac31f53236900138535
Author: Andy Wingo <address@hidden>
Date: Fri Mar 23 17:40:12 2012 +0100
add #:limit to get-bytevector-delimited
* module/ice-9/eports.scm (get-bytevector-delimited): Allow a limit to
be placed on the size of the bytevector.
commit 71ac27ae984b7bcf4d9b58d06bc1bdf09821e6ca
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 10:41:18 2012 +0100
add (web server ethreads)
* module/web/server/ethreads.scm: New file, an ethreads-based HTTP
server.
* module/Makefile.am: Add to build.
commit 82cd8943c3907f4f2a5c7a3de6a8d554678e5585
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 d6c5f0ee7bb1e514f350267769ac452a678bae2b
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 e117428b12147eddee2b383a9c78ed4f86ea9f7a
Author: Andy Wingo <address@hidden>
Date: Thu Mar 22 10:49:22 2012 +0100
add (ice-9 ethreads)
* module/ice-9/ethreads.scm: New module, providing cooperative
lightweight threads that yield when they would otherwise sleep or wait
for I/O.
* module/Makefile.am: Add to build.
commit 8da16948ba5bd3326da3e05517c8bc12f0afc67f
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 1e98d6b8c5e3fd28530440a8cf24bdc825f183ce
Author: Andy Wingo <address@hidden>
Date: Fri Mar 23 11:41:57 2012 +0100
add (ice-9 eports)
* module/ice-9/eports.scm: New file, implementing buffered nonblocking
ports.
* module/Makefile.am: Add to build.
commit 54cedc0294e065b23de29c6a5cbdc5d3d07a1a24
Author: Andy Wingo <address@hidden>
Date: Fri Mar 16 18:13:06 2012 +0100
add (ice-9 nio)
* module/ice-9/nio.scm: New module, providing nonblocking I/O
primitives.
* libguile/nio.c:
* libguile/nio.h: New files, providing non-blocking read(2), write(2),
and accept(2) primitives.
* libguile/init.c:
* libguile/Makefile.am:
* module/Makefile.am: Add to build.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.6-38-g440df85,
Andy Wingo <=