WorkerSource* 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. *
Worker killed by Out Of Memory.
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.
val make :
saved_state:'a ->
entry:'a entry ->
nbr_procs:int ->
gc_control:Gc.control ->
heap_handle:SharedMem.handle ->
t listCreates a pool of workers.