threads: construct Thread only with a given "parent"
[c11tester.git] / nodestack.h
index 47c72678aa13cffb9294e6a7d842860136e37baf..941178d7be453267b7556a1226c4883a11128d9e 100644 (file)
@@ -56,6 +56,7 @@ public:
        /* return true = backtrack set is empty */
        bool backtrack_empty() const;
 
+       void clear_backtracking();
        void explore_child(ModelAction *act, enabled_type_t *is_enabled);
        /* return false = thread was already in backtrack */
        bool set_backtrack(thread_id_t id);
@@ -71,7 +72,7 @@ public:
         * occurred previously in the stack. */
        Node * get_parent() const { return parent; }
 
-       bool add_future_value(struct future_value& fv);
+       bool add_future_value(struct future_value fv);
        struct future_value get_future_value() const;
        bool increment_future_value();
        bool future_value_empty() const;