1 This is a somehow basic master/slaves example.
3 There is 3 kind of processes:
4 * Master: creates some tasks, and dispatches them to its slaves
5 * Forwarder: get tasks from master, and dispatch them further
6 * Slave: get tasks from either master or forwarder, and run them
8 At the end of the execution:
9 - the master sends FinalizeTask to every known slave to stop them
10 - On reception of FT, forwarders send FT to every slave, and stop.
11 - On reception of FinalizeTask, slaves stop.