Future pool that executes task asynchronously with bounded parallelism level.
This class is a wrapper around a "shared array" to provide the Seq trait functions the concept of shared array is that a number of Seqs share a two-dimensional big array as the internal storage, its first dimension index is based on 'id' mod the number of shards, then the second dimension array is indexed by 'offset' and of length 'length'
Represents a priority queue that is bounded by a small maximum (e.
Utility class for unbounded and bounded parallel execution