[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "guix deploy" is in git master

From: Ludovic Courtès
Subject: Re: "guix deploy" is in git master
Date: Thu, 11 Jul 2019 17:43:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)


Christopher Lemmer Webber <address@hidden> skribis:

> Jakob L. Kreuze writes:
>> Hi Dave,
>> "Thompson, David" <address@hidden> writes:
>>> Agreed. Also this should be done in parallel eventually because
>>> updating 24 machines serially is silly.
>> Good idea. Do we have a Guix-specific API for parallelism, or should I
>> look to the Guile manual section on Futures?
> You can spawn a bunch of threads, then use Guile's channels to
> synchronize with the main thread.  (Not to be confused with Guix's
> channels!)

I think you mean Fibers channels, right?

You could also try to simply use ‘par-map’ and the likes, but be
cautious when you start dreading into that: you’ll have to make sure you
don’t share SSH sessions or ports between threads, that you don’t modify
shared vlists/vhashes, etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]