Worker* 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. *
Raise this exception when sending work to a worker that is already busy. * We should never be doing that, and this is an assertion error.
Raise this exception when sending work to a worker that is already killed. * We should never be doing that, and this is an assertion error.
exception Worker_failed_to_send_job of send_job_failureval register_entry_point : restore:('a -> unit) -> 'a entryval make :
saved_state:'a ->
entry:'a entry ->
nbr_procs:int ->
gc_control:Gc.control ->
heap_handle:SharedMem.handle ->
t listCreates a pool of workers.
val get_result : 'a handle -> 'a