Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bugfix in async example. maybe our code should be more defensive for that kind of...
[simgrid.git] / examples / async / Master.java
index e7a89f2..88d6d12 100644 (file)
@@ -33,7 +33,6 @@ public class Master extends Process {
                        //Msg.info("Sending \"" + task.getName()+ "\" to \"slave_" + i % slavesCount + "\"");
                        task.send("slave_"+(i%slavesCount));
                }
-               simulatedSleep(1);
 
                Msg.info("All tasks have been dispatched. Let's tell (asynchronously) everybody the computation is over, and sleep 20s so that nobody gets a message from a terminated process.");