1 This is a somehow basic master/workers example.
3 There is 2 kind of processes:
4 * Master: creates some tasks, and dispatches them to its workers
5 * Worker: get tasks from the master and run them
7 At the end of the execution:
8 - the master sends a Task whose name is "finalize" to every known worker to stop them
9 - On reception of such tasks workers stop.