diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-01-22 23:07:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-01-22 23:39:51 +0100 |
commit | ee11ba1d93b24753eafcd77eef8543e5cac5ba4c (patch) | |
tree | 4179c8ead2eadbcee2dd7e922cfa82fe114a8c88 /README | |
parent | f9481e2222ae127d631888c0d81f5b725c5cbc2a (diff) | |
download | cuirass-ee11ba1d93b24753eafcd77eef8543e5cac5ba4c.tar cuirass-ee11ba1d93b24753eafcd77eef8543e5cac5ba4c.tar.gz |
Introduce concurrency with Fibers.
* README: Mark Fibers as required.
* configure.ac: Check for Guile 2.2 only. Check for (fibers).
* bin/cuirass.in (main): Use (fibers). Run 'process-specs' and web
server in separate fibers.
* src/cuirass/base.scm (with-store): New macro.
(non-blocking-port): New procedure.
(evaluate): Use 'non-blocking-port'. Use 'read-string' followed by 'read'.
(process-specs): Move 'db-add-stamp' right after 'string=?' comparison.
Run evaluation and subsequent builds in a separate fiber.
* src/cuirass/http.scm (run-cuirass-server): Pass 'fibers as the second
argument to 'run-server'. Use 'log-message' instead of 'format'.
* src/cuirass/database.scm (with-database): Remove 'dynamic-wind'.
Diffstat (limited to 'README')
-rw-r--r-- | README | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ Cuirass currently depends on the following packages: - Guile-JSON - Guile-SQLite3 - Guile-Git + - Fibers A convenient way to install those dependencies is to install Guix and execute the following command: |