add a data structure to store the values read by last read actions of each thread...
[c11tester.git] / clockvector.h
index e19a2113a5e10f9860669656bb1583ec91da3620..962e9ec4844995c811638030d5a7c11a983ea36e 100644 (file)
@@ -7,13 +7,11 @@
 
 #include "mymemory.h"
 #include "modeltypes.h"
-
-/* Forward declaration */
-class ModelAction;
+#include "classlist.h"
 
 class ClockVector {
 public:
-       ClockVector(ClockVector *parent = NULL, ModelAction *act = NULL);
+       ClockVector(ClockVector *parent = NULL, const ModelAction *act = NULL);
        ~ClockVector();
        bool merge(const ClockVector *cv);
        bool synchronized_since(const ModelAction *act) const;
@@ -30,4 +28,4 @@ private:
        int num_threads;
 };
 
-#endif /* __CLOCKVECTOR_H__ */
+#endif /* __CLOCKVECTOR_H__ */