package hack_parallel

  1. Overview
  2. Docs
Parallel and shared memory library

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
sha256=4ebcdd0c0b23735228d13bbf401799174771a747a5aeb4f35b64dcfc68079e29
md5=26aff6c969020c1d2f588c574dc7d08a

doc/hack_parallel.scheduler/Scheduler/index.html

Module Scheduler

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.

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
OCaml

Innovation. Community. Security.