]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/explo/Exploration.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Address minor comments in MR review
[simgrid.git] / src / mc / explo / Exploration.hpp
index c1abd5bfc7e8186fe70ea84e4f7f3d46f9bb2ed4..ee3c452f1c725eddc6d10f3d66f68c51096e047f 100644 (file)
@@ -43,6 +43,14 @@ public:
   /** Main function of this algorithm */
   virtual void run() = 0;
 
+  /** Produce an error message indicating that the application crashed (status was produced by waitpid) */
+  void report_crash(int status);
+  /** Produce an error message indicating that a property was violated */
+  void report_assertion_failure();
+
+  /** Kill the application and the model-checker (which exits with `status`)*/
+  XBT_ATTRIB_NORETURN void system_exit(int status);
+
   /* These methods are callbacks called by the model-checking engine
    * to get and display information about the current state of the
    * model-checking algorithm: */