X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=promise.h;h=852fe714f896dfbffc0b409fcd499058841a1ee0;hb=09c3eb5539455e82dcb357fbce82bf5974c3a37c;hp=e040e169e83e1657f53230c107f7805b8416fc2e;hpb=00b14c0561d3838aeb798d3c22f4136f8c4d136b;p=model-checker.git diff --git a/promise.h b/promise.h index e040e16..852fe71 100644 --- a/promise.h +++ b/promise.h @@ -41,7 +41,8 @@ class Promise { void set_write(const ModelAction *act) { write = act; } 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(const ModelAction *act) const; + bool is_compatible_exclusive(const ModelAction *act) const; void print() const;