X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.h;h=11afba9f66129eb18f85ec34cd29160c4c751622;hb=4159ba45e83f6542e3a3320e83bca9fbaf2da3ea;hp=d0e47d9d6212ad004194aac45ef070a96ed5d2c0;hpb=9875c652986098797f7fc8bee9def1c5b6a54ee5;p=model-checker.git diff --git a/model.h b/model.h index d0e47d9..11afba9 100644 --- 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);