Runs the given function in a daemon thread.
Maps the values of the given iterator in parallel using workers in the given thread pool.
Maps the values of the given iterator in parallel using workers in the given thread pool. These workers are started in the order of the original iterator, but might not finish in that order. To keep the other cores busy, up to queueSize values can processed at at time, with results being queued up and returned in the original iteration order. By default, queueSize is four times the number of cores on the machine to keep things humming, but this number can be raised or lowered to change the relative preference of memory versus throughput.
Shared thread pool for all concurrent ops.
Parallel reduce on a set of values.
Concurrent operations.