towards making rmw work...
[c11tester.git] / cyclegraph.h
index 690170022b3746c878c253d46eb58cc102f5c50c..3ed4e4a2f6fe6bb008a3038b9c7208db0f9613b4 100644 (file)
@@ -29,12 +29,13 @@ class CycleNode {
        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;
-       bool hasRMW;
+       CycleNode * hasRMW;
 };
 
 #endif