model: add get_last_seq_cst_fence
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index d0e47d9d6212ad004194aac45ef070a96ed5d2c0..11afba9f66129eb18f85ec34cd29160c4c751622 100644 (file)
--- a/model.h
+++ b/model.h
@@ -171,6 +171,7 @@ private:
        void add_action_to_lists(ModelAction *act);
        ModelAction * get_last_action(thread_id_t tid) const;
        ModelAction * get_last_seq_cst_write(ModelAction *curr) const;
+       ModelAction * get_last_seq_cst_fence(thread_id_t tid, const ModelAction *before_fence) const;
        ModelAction * get_last_unlock(ModelAction *curr) const;
        void build_reads_from_past(ModelAction *curr);
        ModelAction * process_rmw(ModelAction *curr);