experiment with adding NULLITY predicate
[c11tester.git] / clockvector.h
index 9000a5d72eddd90ba1ba5964e4a12105a75ca9b1..962e9ec4844995c811638030d5a7c11a983ea36e 100644 (file)
@@ -7,15 +7,13 @@
 
 #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();
-       void merge(const ClockVector *cv);
+       bool merge(const ClockVector *cv);
        bool synchronized_since(const ModelAction *act) const;
 
        void print() const;
@@ -30,4 +28,4 @@ private:
        int num_threads;
 };
 
-#endif /* __CLOCKVECTOR_H__ */
+#endif /* __CLOCKVECTOR_H__ */