fix some of the bugs related to barrier example...
[model-checker.git] / action.h
index 68db2c35899c479b5aa1b0b9329f049a14b84e45..4f63c181b0a3f2fca0a798fead208029af4a364b 100644 (file)
--- a/action.h
+++ b/action.h
@@ -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;
@@ -127,6 +128,7 @@ public:
 
        void set_sleep_flag() { sleep_flag=true; }
        bool get_sleep_flag() { return sleep_flag; }
+       unsigned int hash() const;
 
        MEMALLOC
 private: