Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
[simgrid.git] / examples / master_slave_bypass / Master.java
index 393d896..db764df 100644 (file)
@@ -26,7 +26,7 @@ public class Master extends Process {
        //Create a slave on host "alice"
        try {
                        Msg.info("Create process on host 'alice'");
-               Slave process2 = new Slave("alice","process2");
+               new Slave("alice","process2").start();
            }
        catch (MsgException e){
                        System.out.println("Process2!");