promise: bugfix - don't check value, check location
[model-checker.git] / promise.h
index 5ea7dc58d0470a29a537985c6322f8792be1f856..4131470457cc7e4eb2ed2520ed2489aa8f3de66e 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -36,6 +36,7 @@ class Promise {
        int get_num_available_threads() const { return num_available_threads; }
        bool is_compatible(const ModelAction *act) const;
        bool is_compatible_exclusive(const ModelAction *act) const;
+       bool same_location(const ModelAction *act) const;
 
        modelclock_t get_expiration() const { return fv.expiration; }
        uint64_t get_value() const { return fv.value; }