Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add setKillTime in Process
[simgrid.git] / org / simgrid / msg / Process.java
index 82e6c4f..375a142 100644 (file)
@@ -288,6 +288,12 @@ public abstract class Process implements Runnable {
        public int getPPID()  {
                return ppid;
        }
+       /**
+        * Set the kill time of the process
+        * @param killTime the time when the process is killed
+        */
+       public native void setKillTime(double killTime);
+       
        /**
         * This static method returns the currently running process.
         *