support for locks... untested, but doesn't break quick run of a sample of test cases
[c11tester.git] / action.h
index 753860984a2f2df79869deb11bb0053fdb05d7a5..c5179bcfa81a77de58b79b5c57077a28d32cfb24 100644 (file)
--- a/action.h
+++ b/action.h
@@ -72,6 +72,11 @@ public:
        Node * get_node() const { return node; }
        void set_node(Node *n) { node = n; }
 
+       void set_try_lock(bool obtainedlock);
+       bool is_mutex_op() const;
+       bool is_lock() const;
+       bool is_trylock() const;
+       bool is_unlock() const;
        bool is_success_lock() const;
        bool is_failed_trylock() const;
        bool is_read() const;