X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=promise.h;h=852fe714f896dfbffc0b409fcd499058841a1ee0;hb=ef4cc3b6f1e19e873509877b8e0d096bbac31e53;hp=8eec87bd4dbf7f32ec3ecdb95b4bf611f5559bf9;hpb=82357a7b7cc6e7395609894a8c8a705aa5af7e4e;p=c11tester.git diff --git a/promise.h b/promise.h index 8eec87bd..852fe714 100644 --- a/promise.h +++ b/promise.h @@ -39,9 +39,10 @@ class Promise { bool has_failed() const; uint64_t get_value() const { return value; } void set_write(const ModelAction *act) { write = act; } - const ModelAction * get_write() { return write; } - int get_num_available_threads() { return num_available_threads; } - bool is_compatible(const ModelAction *write) const; + const ModelAction * get_write() const { return write; } + 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; void print() const;