Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make Process.kill(process) an instance method, not a static one
[simgrid.git] / examples / master_slave_kill / Master.java
index e3dc16e..0600913 100644 (file)
@@ -41,7 +41,7 @@ public class Master extends Process {
                                }
                }
                
-               Process.kill(process2);
+               process2.kill();
 
                Msg.info("Process2 is now killed, should exit now");
        }