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

Public GIT Repository
Rename mc::Checker to mc::Exploration as it defines an exploration algo
[simgrid.git] / src / mc / Session.hpp
index 53161e13bc4c772306750e47af813cf4972134cb..8185115521d6571d4e77bdb0cbb195bf7848f36f 100644 (file)
@@ -46,9 +46,13 @@ public:
   void close();
 
   void take_initial_snapshot();
+  void restore_initial_state() const;
+
+  /** Ask to the application to check for a deadlock. If so, do an error message and throw a DeadlockError. */
+  void check_deadlock() const;
+
   void log_state() const;
 
-  void restore_initial_state() const;
   bool actor_is_enabled(aid_t pid) const;
 };