Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove split the MCed and MCer part of MC_deadlock_check()
[simgrid.git] / src / mc / ModelChecker.hpp
index 1f7665d..9bde129 100644 (file)
@@ -36,7 +36,7 @@ class ModelChecker {
   PageStore page_store_;
   std::unique_ptr<Process> process_;
 public:
-  mc_snapshot_t parent_snapshot_;
+  simgrid::mc::Snapshot* parent_snapshot_;
 
 public:
   ModelChecker(ModelChecker const&) = delete;
@@ -71,6 +71,9 @@ public:
     mc_model_checker->wait_client(mc_model_checker->process());
   }
   void exit(int status);
+
+  bool checkDeadlock();
+
 private:
   void setup_ignore();
   bool handle_message(char* buffer, ssize_t size);