action: synchronize_with - return status for out-of-order synchronization
[model-checker.git] / action.h
index c455ea780883b371d80caed2d25c95e3d16edf1b..fecef4dbf3043ac920d5fb09efef85ffb8d6e863 100644 (file)
--- a/action.h
+++ b/action.h
@@ -103,7 +103,7 @@ public:
        void create_cv(const ModelAction *parent = NULL);
        ClockVector * get_cv() const { return cv; }
        void read_from(const ModelAction *act);
-       void synchronize_with(const ModelAction *act);
+       bool synchronize_with(const ModelAction *act);
 
        bool has_synchronized_with(const ModelAction *act) const;
        bool happens_before(const ModelAction *act) const;