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.procs/Hack_bucket/index.html

Module Hack_bucket

* Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the "hack" directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *

type 'a bucket =
  1. | Job of 'a
  2. | Wait
  3. | Done
type 'a next = unit -> 'a bucket
val of_list : 'a list -> 'a list bucket
val make : num_workers:int -> 'a list -> 'a list next
type 'a of_n = {
  1. work : 'a;
  2. bucket : int;
  3. total : int;
}
val make_n_buckets : buckets:int -> split:(bucket:int -> 'a) -> 'a of_n next
OCaml

Innovation. Community. Security.