Hey! Christopher Lemmer Webber <cweb...@dustycloud.org> skribis:
> Jakob L. Kreuze writes: > >> Hi Dave, >> >> "Thompson, David" <dthomps...@worcester.edu> 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. Ludo’.