Name forpar_do_
Definition forpar (n:val(int)) do (e:expr(void)) : expr(void)
Example forpar 5 do print(forparnum)
Defined in ctrl.l
Implementation lard
Infix forpar_do_ : infix(60,none).
Description Evalaute the body expression the given number of times concurrently.
See Also forparnum
Note I would have prefered for forpar and forseq to be entirely symetrical but unfortunately it is not possible to use a control variable for forpar as variables outside the scope of the body expression are shared by all threads.