projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
towards making rmw work...
[model-checker.git]
/
cyclegraph.h
diff --git
a/cyclegraph.h
b/cyclegraph.h
index 690170022b3746c878c253d46eb58cc102f5c50c..3ed4e4a2f6fe6bb008a3038b9c7208db0f9613b4 100644
(file)
--- a/
cyclegraph.h
+++ b/
cyclegraph.h
@@
-29,12
+29,13
@@
class CycleNode {
CycleNode(const ModelAction *action);
void addEdge(CycleNode * node);
std::vector<CycleNode *> * getEdges();
CycleNode(const ModelAction *action);
void addEdge(CycleNode * node);
std::vector<CycleNode *> * getEdges();
- bool setRMW();
+ bool setRMW(CycleNode *);
+ CycleNode* getRMW();
private:
const ModelAction *action;
std::vector<CycleNode *> edges;
private:
const ModelAction *action;
std::vector<CycleNode *> edges;
-
bool
hasRMW;
+
CycleNode *
hasRMW;
};
#endif
};
#endif