Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplify the Context::stop() and reduce duplication
[simgrid.git] / src / mc / Session.hpp
index c962d1f..520cbbf 100644 (file)
@@ -46,15 +46,15 @@ public:
   void close();
 
   void take_initial_snapshot();
-  simgrid::mc::RemotePtr<simgrid::kernel::actor::SimcallObserver> execute(Transition const& transition) const;
+  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;
 };
-
-// Temporary :)
-extern simgrid::mc::Session* session_singleton;
 }
 }