clockvector: fix 'happens_before', change name to 'synchronized_since'
[c11tester.git] / clockvector.h
index c4aabeb162829cf4883c1c546e2df0651fbfe5eb..d233cdd136c46f7e00c547f9ac1d4be95d62cdee 100644 (file)
@@ -1,3 +1,7 @@
+/** @file clockvector.h
+ *  @brief Implements a clock vector.
+ */
+
 #ifndef __CLOCKVECTOR_H__
 #define __CLOCKVECTOR_H__
 
@@ -12,7 +16,9 @@ public:
        ClockVector(ClockVector *parent = NULL, ModelAction *act = NULL);
        ~ClockVector();
        void merge(ClockVector *cv);
-       bool happens_before(ModelAction *act, thread_id_t id);
+       bool synchronized_since(ModelAction *act);
+
+       void print();
 
        MEMALLOC
 private: