Hi, Chris + Ludovic!

Ludovic Courtès <l...@gnu.org> writes:

> Christopher Lemmer Webber <cweb...@dustycloud.org> skribis:
>
>> 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’.

Thanks for the suggestions, I'll look into these. 'deploy-machine' is
reasonably self-contained, so the only issue that's coming to mind at
the moment is if someone were to explicitly share sessions through the
'session' field of 'machine-ssh-configuration'.

Regards,
Jakob

Attachment: signature.asc
Description: PGP signature

Reply via email to