Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deleted simulatedSleep, use waitFor instead. Moved everything from MsgNative to their...
[simgrid.git] / examples / async / Forwarder.java
index d17bb93..3ed84f3 100644 (file)
@@ -37,7 +37,7 @@ public class Forwarder extends Process {
                                        Task tf = new FinalizeTask();
                                        tf.dsend("slave_"+cpt);
                                }
-                               simulatedSleep(20);
+                               waitFor(20);
                                break;
                        }
                        int dest = firstOutput + (taskCount % slavesCount);