model: add is_acquire() and is_release() helper functions
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 4472c5b2b0c7499373e226e0aee40a7cfe432ae8..d04fa6208a35a5498c4e8bc54c1067afa5078187 100644 (file)
--- a/model.h
+++ b/model.h
@@ -39,6 +39,8 @@ public:
 
        bool is_read();
        bool is_write();
+       bool is_acquire();
+       bool is_release();
        bool same_var(ModelAction *act);
        bool same_thread(ModelAction *act);
        bool is_dependent(ModelAction *act);