Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move 2 functions from mc::ModelChecker to mc::RemoteApp
[simgrid.git] / src / mc / api / RemoteApp.hpp
index 975502e..f1c60f7 100644 (file)
@@ -50,6 +50,11 @@ public:
   /** Ask to the application to check for a deadlock. If so, do an error message and throw a DeadlockError. */
   void check_deadlock() const;
 
+  /** Ask the application to run post-mortem analysis, and maybe to stop ASAP */
+  void finalize_app(bool terminate_asap = false);
+  /** Forcefully kill the application (after running post-mortem analysis)*/
+  void shutdown();
+
   /** Retrieve the max PID of the running actors */
   unsigned long get_maxpid() const;