action: add is_atomic_var()
[model-checker.git] / action.h
index 86012c123d5b18cb7404787c21183ea86d21055d..a246123c259d002d04eb14b1b0a4d63048e12fb6 100644 (file)
--- a/action.h
+++ b/action.h
@@ -83,7 +83,7 @@ public:
        uint64_t get_value() const { return value; }
        const ModelAction * get_reads_from() const { return reads_from; }
 
-       Node * get_node() const { return node; }
+       Node * get_node() const;
        void set_node(Node *n) { node = n; }
 
        void set_read_from(const ModelAction *act);
@@ -108,6 +108,7 @@ public:
        bool is_notify_one() const;
        bool is_success_lock() const;
        bool is_failed_trylock() const;
+       bool is_atomic_var() const;
        bool is_uninitialized() const;
        bool is_read() const;
        bool is_write() const;