package hack_parallel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

* 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.