Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add VM API from MSG (experimental, still buggy in MSG C part anyway)
[simgrid.git] / examples / master_slave_bypass / MsBypass.java
index 006c63d..8bf98ef 100644 (file)
@@ -24,13 +24,12 @@ public class MsBypass {
     Msg.init(args);
     Msg.createEnvironment(args[0]);
 
-    /* bypass deploymemt */
+    /* bypass deployment */
     try {
-    Master process1 = new Master("bob","process1");
-    Slave process2 = new Slave("alice","process2");
+       new Master("bob","process1").start();
     }
     catch (MsgException e){
-       System.out.println("Mes couilles!!!!!");
+       System.out.println("Create processes failed!");
     }
     
        /*  execute the simulation. */