Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make Process.migrate non-static
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Tue, 12 Jun 2012 09:20:05 +0000 (11:20 +0200)
committerSamuel Lepetit <samuel.lepetit@inria.fr>
Tue, 12 Jun 2012 09:20:05 +0000 (11:20 +0200)
org/simgrid/msg/Process.java

index 375a142..dcfd43f 100644 (file)
@@ -308,7 +308,7 @@ public abstract class Process implements Runnable {
         * @param host                  The host where to migrate the process.
         *
         */
         * @param host                  The host where to migrate the process.
         *
         */
-       public native static void migrate(Process process, Host host);  
+       public native void migrate(Host host);  
        /**
         * Makes the current process sleep until millis millisecondes have elapsed.
         * You should note that unlike "waitFor" which takes seconds, this method takes milliseconds.
        /**
         * Makes the current process sleep until millis millisecondes have elapsed.
         * You should note that unlike "waitFor" which takes seconds, this method takes milliseconds.