Control.Concurrent.Network.Process
Contents
Description
General idea is having one dedicated master process and an arbitrary number of slave processes.
Functions
initProcess :: IO NCContextSource
Convinience function. It calls either initMaster
or
initSlave
depending on whether we have -m on the command line
or not. If -m is specified the following argument should be the
number of slaves to wait for.
Returns in the slave processes with the NC context. Does not return in the master process.