DP_Kzg.Dexception InvalidNode of Distributed.Node_id.ttype monitor_reason = | Normal of Distributed.Process_id.t| Exception of Distributed.Process_id.t * exn| UnkownNodeId of Distributed.Process_id.t * Distributed.Node_id.t| NoProcess of Distributed.Process_id.tmodule Remote_config : sig ... endmodule Local_config : sig ... endval return : 'a -> 'a tval register : string -> (Distributed.Process_id.t -> unit -> unit t) -> unit tval fail : exn -> 'a tval spawn :
?monitor:bool ->
Distributed.Node_id.t ->
proc_rep ->
Distributed.Process_id.t ->
(Distributed.Process_id.t * monitor_ref option) tval case : (message_type -> (unit -> 'a t) option) -> 'a matcher_listval termination_case : (monitor_reason -> 'a t) -> 'a matcher_listval (|.) : 'a matcher_list -> 'a matcher_list -> 'a matcher_listval receive : ?timeout_duration:float -> 'a matcher_list -> 'a option tval receive_loop : ?timeout_duration:float -> bool matcher_list -> unit tval send : Distributed.Process_id.t -> message_type -> unit tval (>!) : Distributed.Process_id.t -> message_type -> unit tval broadcast : Distributed.Node_id.t -> message_type -> unit tval monitor : Distributed.Process_id.t -> monitor_ref tval unmonitor : monitor_ref -> unit tval get_self_pid : Distributed.Process_id.t tval get_self_node : Distributed.Node_id.t tval get_remote_node : string -> Distributed.Node_id.t option tval get_remote_nodes : Distributed.Node_id.t list tval add_remote_node : string -> int -> string -> Distributed.Node_id.t tval remove_remote_node : Distributed.Node_id.t -> unit tval run_node : ?process:(unit -> unit t) -> node_config -> unit iomodule M : sig ... endval dmap :
pids:Distributed.Process_id.t list ->
request:('a -> index:int -> 'step M.request) ->
reply:('step M.reply -> (unit -> 'b t) option) ->
'a list ->
'b list t