A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename Process.changeHost to process.migrate to match the MSG API
[simgrid.git]
/
org
/
simgrid
/
msg
/
Process.java
diff --git
a/org/simgrid/msg/Process.java
b/org/simgrid/msg/Process.java
index
762dddb
..
1c85cf0
100644
(file)
--- a/
org/simgrid/msg/Process.java
+++ b/
org/simgrid/msg/Process.java
@@
-266,11
+266,12
@@
public abstract class Process extends Thread {
/**
* Migrates a process to another host.
*
/**
* Migrates a process to another host.
*
+ * @param process The process to migrate.
* @param host The host where to migrate the process.
*
*/
* @param host The host where to migrate the process.
*
*/
- public
void migrate(
Host host) {
- MsgNative.process
ChangeHost(thi
s, host);
+ public
static void migrate(Process process,
Host host) {
+ MsgNative.process
Migrate(proces
s, host);
}
/**
* Makes the current process sleep until time seconds have elapsed.
}
/**
* Makes the current process sleep until time seconds have elapsed.