promise: add 'same_value' helper, force value-checking in CycleGraph
[c11tester.git] / promise.h
index 4131470457cc7e4eb2ed2520ed2489aa8f3de66e..0adc3de1aabb47d9d8df7a007d59eb09f391a257 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_value(const ModelAction *write) const;
        bool same_location(const ModelAction *act) const;
 
        modelclock_t get_expiration() const { return fv.expiration; }