Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Forgot to update migrate signature in Process
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Fri, 11 May 2012 13:44:59 +0000 (15:44 +0200)
committerSamuel Lepetit <samuel.lepetit@inria.fr>
Fri, 11 May 2012 13:44:59 +0000 (15:44 +0200)
org/simgrid/msg/Process.java

index 447966b..bb9f963 100644 (file)
@@ -307,10 +307,7 @@ public abstract class Process extends Thread {
         * @param host                  The host where to migrate the process.
         *
         */
-       public static void migrate(Process process, Host host)  {
-               MsgNative.processMigrate(process, host);
-               process.host = null;
-       }
+       public native static void migrate(Process process, 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.