Concurrent computing
A very basic threading support is provided by the Block.fork() method:
<Enjoy Rosetta Code> \
.map{|str| {say str}.fork } \
.map{|thr| thr.wait }
Output:
Enjoy
Code
Rosetta
A very basic threading support is provided by the Block.fork() method:
<Enjoy Rosetta Code> \
.map{|str| {say str}.fork } \
.map{|thr| thr.wait }
Enjoy
Code
Rosetta