nodestack: construct Node with 'number of threads', not 'parent node'
[model-checker.git] / nodestack.h
index eebfa5ba1c0c8c4771bb625e490fb6dbfeb97c16..cf3c6db146675c0cb7f41d994f988925209fc976 100644 (file)
@@ -11,7 +11,7 @@ class ModelAction;
 
 class Node {
 public:
-       Node(ModelAction *act = NULL, Node *parent = NULL);
+       Node(ModelAction *act = NULL, int nthreads = 1);
        ~Node();
        /* return true = thread choice has already been explored */
        bool has_been_explored(thread_id_t tid);