hack_parallel

Parallel and shared memory library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library hack_parallel.scheduler
Module Scheduler
type t
val create : ?number_of_workers:int -> ?bucket_multiplier:int -> unit -> t
val map_reduce : t -> ?bucket_size:int -> init:'a -> map:( 'a -> 'b list -> 'c ) -> reduce:( 'c -> 'a -> 'a ) -> 'b list -> 'a
val iter : t -> f:( 'a list -> unit ) -> 'a list -> unit
val single_job : t -> f:( 'a -> 'b ) -> 'a -> 'b
val mock : unit -> t
val destroy : t -> unit