X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.h;h=dd7de7a1ec2ca17f6081708d77758577e74777d7;hb=d5188b9694c29e0d776a643965f2461a1fbbe5e1;hp=496093134ec7b6c96437c6ffa6f060e87894bdd9;hpb=d27984bb297795f4e9a4531e2730d8188a799e89;p=model-checker.git diff --git a/action.h b/action.h index 4960931..dd7de7a 100644 --- a/action.h +++ b/action.h @@ -26,7 +26,7 @@ using std::memory_order_seq_cst; /** Note that this value can be legitimately used by a program, and hence by iteself does not indicate no value. */ -#define VALUE_NONE 1234567890 +#define VALUE_NONE 0xdeadbeef /** A special value to represent a successful trylock */ @@ -94,6 +94,7 @@ public: bool is_failed_trylock() const; bool is_read() const; bool is_write() const; + bool could_be_write() const; bool is_rmwr() const; bool is_rmwc() const; bool is_rmw() const;