impatomic: fences linker error
[c11tester.git] / promise.h
index 5ea7dc58d0470a29a537985c6322f8792be1f856..0adc3de1aabb47d9d8df7a007d59eb09f391a257 100644 (file)
--- a/promise.h
+++ b/promise.h
@@ -36,6 +36,8 @@ 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_value(const ModelAction *write) const;
+       bool same_location(const ModelAction *act) const;
 
        modelclock_t get_expiration() const { return fv.expiration; }
        uint64_t get_value() const { return fv.value; }