// In functional form, useful for high-order functions like map in fun.js
functionjoin_(thread){thread.join()}
// Fork a loop on each one-arg block and wait for all of them to terminate. Foreground blocks are executed n times, background blocks are executed repeatedly until all forground loops finish. If any fail, stop all loops and reraise exception in main thread