model: add deadlock detection
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index 86f9d0b581d5f96f65c5114cfd99812245a76ad9..d582cdabed800d6cd10cbca7599de3134a7c00e3 100644 (file)
--- a/model.h
+++ b/model.h
@@ -106,6 +106,7 @@ public:
        void finish_execution();
        bool isfeasibleprefix();
        void set_assert() {asserted=true;}
+       bool is_deadlocked() const;
 
        /** @brief Alert the model-checker that an incorrectly-ordered
         * synchronization was made */