yarr-1.3.1: Yet another array library
Data.Yarr.Utils.Fork
makeForkEachSliceSource
Arguments
Number of threads to fork the work on
Lower bound
Upper bound
Per-slice interval works
Producer of per-thread work, which returns piece of result for each slice
makeForkSlicesOnceSource
(lower bound, upper bound) for each slice
Producer of per-thread work, which returns pieces of results: [(slice number, result)]
makeForkSource
Interval work
Producer of per-thread work