Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add VM.reboot
[simgrid.git] / org / simgrid / msg / VM.java
index 04676af..3de79f9 100644 (file)
@@ -84,5 +84,9 @@ public class VM {
         * No extra delay occurs. If you want to simulate this too, you want to use a MSG_process_sleep() or something
         */
        public native void shutdown();
+       /**
+        * @brief Reboot the VM, restarting all the processes in it.
+        */
+       public native void reboot();
                
 }
\ No newline at end of file