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

Module MultiWorker

* Copyright (c) 2015, 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 nextlist = 'a list Hack_bucket.next
val next : Worker.t list option -> 'a list -> 'a list Hack_bucket.next
type 'a bucket = 'a Hack_bucket.bucket =
  1. | Job of 'a
  2. | Wait
  3. | Done
val call : Worker.t list option -> job:('c -> 'a -> 'b) -> merge:('b -> 'c -> 'c) -> neutral:'c -> next:'a Hack_bucket.next -> 'c
OCaml

Innovation. Community. Security.