package hack_parallel

  1. Overview
  2. Docs
Parallel and shared memory library

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.1.tar.gz
md5=ba7c72bc207e326b72e294fc76f6ad2c
sha512=5020d47f97bea2f88e2a40411894d03232a7f2282606926c93c7d4c96d72e94a966be852897a9b16f7e0893ba376512045abb9d93020a7c03c3def4f3d918f8e

doc/hack_parallel.scheduler/Scheduler/index.html

Module SchedulerSource

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.

Sourcetype t
Sourceval create : ?number_of_workers:int -> ?bucket_multiplier:int -> unit -> t
Sourceval map_reduce : t -> ?bucket_size:int -> init:'a -> map:('a -> 'b list -> 'c) -> reduce:('c -> 'a -> 'a) -> 'b list -> 'a
Sourceval iter : t -> f:('a list -> unit) -> 'a list -> unit
Sourceval single_job : t -> f:('a -> 'b) -> 'a -> 'b
Sourceval mock : unit -> t
Sourceval destroy : t -> unit
OCaml

Innovation. Community. Security.