Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add Process.setAutoRestart
[simgrid.git] / org / simgrid / msg / Process.java
index caccfb1..c2f9dcd 100644 (file)
@@ -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
         */