model: add read-write coherence for promise nodes
[model-checker.git] / promise.h
index e040e169e83e1657f53230c107f7805b8416fc2e..852fe714f896dfbffc0b409fcd499058841a1ee0 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -41,7 +41,8 @@ class Promise {
        void set_write(const ModelAction *act) { write = act; }
        const ModelAction * get_write() const { return write; }
        int get_num_available_threads() const { return num_available_threads; }
-       bool is_compatible(const ModelAction *write) const;
+       bool is_compatible(const ModelAction *act) const;
+       bool is_compatible_exclusive(const ModelAction *act) const;
 
        void print() const;