parallel-each ( seq quot: ( elt -- ) -- )
Concurrent combinators

Next:2parallel-each ( seq1 seq2 quot: ( elt1 elt2 -- ) -- )


Vocabulary
concurrency.combinators

Inputs and outputs
seqa sequence
quota quotation with stack effect ( elt -- )


Word description
Spawns a new thread for applying quot to every element of seq, blocking until all quotations complete.

Errors
Throws an error if one of the iterations throws an error.

Definition