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
Add Process.setAutoRestart
[simgrid.git]
/
org
/
simgrid
/
msg
/
Process.java
diff --git
a/org/simgrid/msg/Process.java
b/org/simgrid/msg/Process.java
index
caccfb1
..
c2f9dcd
100644
(file)
--- a/
org/simgrid/msg/Process.java
+++ b/
org/simgrid/msg/Process.java
@@
-239,6
+239,10
@@
public abstract class Process implements Runnable {
public void pause() {
suspend();
}
+ /**
+ * Sets the "auto-restart" flag of the process.
+ */
+ public native void setAutoRestart(boolean autoRestart);
/**
* Restarts the process from the beginning
*/