Any good solutions for parallelism?

I can not find concurrent/2 but do find concurrent/3.


Did you try concurrent_forall/3?

Here is an example usage:

IIRC concurrent_forall/3 uses a thread pool, check the code as the documentation may not reflect all of the details.

1 Like