promise: add is_compatible_exclusive()
[model-checker.git] / promise.h
index e040e169e83e1657f53230c107f7805b8416fc2e..178b86e7d4b3cedba32f2240f2493e63655efb4d 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -42,6 +42,7 @@ class Promise {
        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_exclusive(const ModelAction *write) const;
 
        void print() const;