- /** Spawn a model-checked process (using PATH)
- *
- * @param file file name of the executable (found using `PATH`)
- * @param argv arguments for the model-checked process (NULL-terminated)
- */
- static Session* spawnvp(const char *file, char *const argv[]);
-};
+ 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;