DaemonSource* 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 root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *
Type-safe versions of the channels in Pervasives.
val to_channel :
'a out_channel ->
?flags:Marshal.extern_flags list ->
?flush:bool ->
'a ->
unitSpawning new process
val register_entry_point :
string ->
('param -> ('input, 'output) channel_pair -> unit) ->
('param, 'input, 'output) entryval fork :
?channel_mode:[ `pipe | `socket ] ->
(Unix.file_descr * Unix.file_descr) ->
('param -> ('input, 'output) channel_pair -> unit) ->
'param ->
('output, 'input) handle