package hack_parallel

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

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

val pre_fork_callbacks : (unit -> unit) list Stdlib.ref
val post_fork_child_callbacks : (unit -> unit) list Stdlib.ref

Sometimes it is more convenient to clear buffers in the children (to * avoid the double writing of data) instead of the parent on a successful * fork. We store those callbacks here.

val on_fork : (unit -> unit) -> unit
val post_fork_child : (unit -> unit) -> unit
val fork : unit -> int
val fork_and_log : ?reason:string -> unit -> int
val fork_and_may_log : ?reason:string -> unit -> int
OCaml

Innovation. Community. Security.