Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename Process.changeHost to process.migrate to match the MSG API
[simgrid.git] / org / simgrid / msg / MsgNative.java
index e7f7759..b5f8765 100644 (file)
@@ -9,7 +9,9 @@
  *(GNU LGPL) which comes with this package. 
  */
 
-package simgrid.msg;
+package org.simgrid.msg;
+
+import org.simgrid.msg.Process;
 
 /* FIXME: split into internal classes of Msg, Task, Host etc. */
 
@@ -148,7 +150,7 @@ final class MsgNative {
         * @see                Process.migrate()
         * @see                Host.getByName()
         */
-       final static native void processChangeHost(Process process, Host host) ;
+       final static native void processMigrate(Process process, Host host) ;
 
        /**
         * The natively implemented native to request the current process to sleep