[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Do not use par-map in fiberized context.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: Do not use par-map in fiberized context. |
Date: |
Sat, 03 Oct 2020 05:12:37 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new 761443b Do not use par-map in fiberized context.
761443b is described below
commit 761443bca6178b4ac299a8bd368d1cac4abda5f8
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sat Oct 3 11:03:37 2020 +0200
Do not use par-map in fiberized context.
Fixes: <https://issues.guix.gnu.org/43757>.
* src/cuirass/base.scm (fetch-inputs): Call par-map from a separate thread
as
this call is not suspendable.
---
src/cuirass/base.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 0c06bf7..5a0c826 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -745,7 +745,8 @@ by PRODUCT-SPECS."
(fetch-input store input
#:writable-copy? (compile? input)))))
inputs))
- (results (par-map %non-blocking thunks)))
+ (results (non-blocking
+ (par-map %non-blocking thunks))))
(map (lambda (checkout)
(log-message "fetched input '~a' of spec '~a' (commit ~s)"
(assq-ref checkout #:input)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Do not use par-map in fiberized context.,
Mathieu Othacehe <=