Create a new mailbox access module for message type
The type of messages
The type of the mailboxes
val create :
string -> mbox
Creates a new mailbox with the passed name, or opens an existing mailbox. Names are global to the whole Netplex process system.
Send a message to this box. If the box is full, it is waited until the box is free again. If several senders wait for the box, one sender is selected.
Receive a message: It is waited until a sender puts a message into the box. If several receivers wait for the box, one receiver is selected.