yarr-1.4.0.2: Yet another array library
Data.Yarr.Utils.Fork
makeForkEachSlice Source #
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
makeForkSlicesOnce Source #
(lower bound, upper bound) for each slice
Producer of per-thread work, which returns pieces of results: [(slice number, result)]
makeFork Source #
Interval work
Producer of per-thread work