package hack_parallel
Module Std.DaemonSource
Type-safe versions of the channels in Pervasives.
Source
val to_channel :
'a out_channel ->
?flags:Marshal.extern_flags list ->
?flush:bool ->
'a ->
unitSpawning new process
Source
val register_entry_point :
string ->
('param -> ('input, 'output) channel_pair -> unit) ->
('param, 'input, 'output) entrySource
val fork :
?channel_mode:[ `pipe | `socket ] ->
(Unix.file_descr * Unix.file_descr) ->
('param -> ('input, 'output) channel_pair -> unit) ->
'param ->
('output, 'input) handle