module Netplex_mbox:sig
..end
This is actually an extension of Netplex_sharedvar
, and the
same caveats apply.
val plugin : Netplex_types.plugin
add_plugin
method
with this object as argument. This can e.g. be done in the
post_add_hook
of the processor.
module Msg_type = struct type t = <some_type> end
module Mbox_type = Netplex_mbox.Make_mbox_type(Msg_type)
let box = Mbox_type.create "my_box"
let msg = Mbox_type.receive box
module type MBOX =sig
..end
mbox
with messages of type t
module Make_mbox_type:
T.t