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 / Slave.java
index ab07cac..e7e92d6 100644 (file)
@@ -50,7 +50,7 @@ public class Slave extends Process {
                                                comm = null;                                                    
                                        }
                                        else {
-                                               simulatedSleep(1);
+                                               waitFor(1);
                                        }
                                }
                        }
@@ -59,6 +59,6 @@ public class Slave extends Process {
                        }
                }
                Msg.info("Received Finalize. I'm done. See you!");
-               simulatedSleep(20);
+               waitFor(20);
        }
 }
\ No newline at end of file