How to know when a multi-spawned process set finish its work?

Krukoff, John John.Krukoff@REDACTED
Tue Apr 13 21:13:03 CEST 2021

> Where can I find an example of a good code for this use case (even in the standard OTP library of course, I do not fear to read OTP code :) ?

Hi Giovanni,

FWIW, when I had a similar need for a simple CLI script I wrote long ago, rpc:pmap/3 was a good solution for me:

which I used for this small utility script:

Don't know if it qualifies as "good", but it is at least short.

Giovanni Giorgi via webmail
This e-mail may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender immediately and then delete it.


More information about the erlang-questions mailing list