projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nodestack: construct Node with 'number of threads', not 'parent node'
[cdsspec-compiler.git]
/
nodestack.h
diff --git
a/nodestack.h
b/nodestack.h
index eebfa5ba1c0c8c4771bb625e490fb6dbfeb97c16..cf3c6db146675c0cb7f41d994f988925209fc976 100644
(file)
--- a/
nodestack.h
+++ b/
nodestack.h
@@
-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);