2parallel-map ( seq1 seq2 quot: ( elt1 elt2 -- newelt ) -- newseq )
Concurrent combinators

Prev:parallel-map ( seq quot: ( elt -- newelt ) -- newseq )
Next:parallel-filter ( seq quot: ( elt -- ? ) -- newseq )


Vocabulary
concurrency.combinators

Inputs
seq1a sequence
seq2a sequence
quota quotation with stack effect ( elt1 elt2 -- newelt )


Outputs
newseqa sequence


Word description
Spawns a new thread for applying quot to pairwise elements of seq1 and seq2, collecting the results at the end.

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

Definition