action: print promise number, not just ?
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index 9e0b34ba18b25cf642a92dea56321763c23b48ba..e92137d1c17b6222f867cd27cfdc568625dd9bd2 100644 (file)
--- a/model.h
+++ b/model.h
@@ -113,6 +113,7 @@ public:
        void remove_thread(Thread *t);
        Thread * get_thread(thread_id_t tid) const;
        Thread * get_thread(const ModelAction *act) const;
+       int get_promise_number(const Promise *promise) const;
 
        bool is_enabled(Thread *t) const;
        bool is_enabled(thread_id_t tid) const;