Up – Package index » hack_parallel » Library hack_parallel.scheduler » SchedulerModule Scheduler Source Copyright (c) 2016-present, Facebook, Inc. Modified work Copyright (c) 2018-2019 Rijnard van Tonder This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
hack_parallel README Library hack_parallel Library hack_parallel.collections Library hack_parallel.disk Library hack_parallel.hack_core Library hack_parallel.heap Library hack_parallel.hh_json Library hack_parallel.injection Library hack_parallel.interface Library hack_parallel.memory Library hack_parallel.procs Library hack_parallel.scheduler Library hack_parallel.socket Library hack_parallel.stubs Library hack_parallel.utils Sources Source val create : ?number_of_workers :int -> ?bucket_multiplier :int -> unit -> t Source val map_reduce :
t ->
?bucket_size :int ->
init :'a ->
map :('a -> 'b list -> 'c ) ->
reduce :('c -> 'a -> 'a ) ->
'b list ->
'a Source val iter : t -> f :('a list -> unit) -> 'a list -> unitSource val single_job : t -> f :('a -> 'b ) -> 'a -> 'b