package distributed
Module DistributedSource
This module provides modules to create distribtued computations. Distributed comutations are described using the Process. Process provides a monadic interface to describe distributed computations.
Some nomenclature :
- Node : A node corresponds to a operating system process. There can be many nodes on a single machine.
- Process : A process corresponds to a light weight thread (i.e., user space cooperative threads). There can be many processes on a single Node.
This module provides a type representing a process id.
Abstract type which can perform monadic concurrent IO.
The abstract type representing the messages that will be sent between processes.
A unit of computation which can be executed on a local or remote host, is monadic.
Source
module Make
(I : Nonblock_io)
(M : Message_type) :
Process with type message_type = M.t and type 'a io = 'a I.tFunctor to create a module of type Process given a message module M of type Message_type.