From ee11ba1d93b24753eafcd77eef8543e5cac5ba4c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 22 Jan 2018 23:07:10 +0100 Subject: 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'. --- README | 1 + 1 file changed, 1 insertion(+) (limited to 'README') diff --git a/README b/README index 8c86a29..e2540cd 100644 --- a/README +++ b/README @@ -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: -- cgit v1.2.3