X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.h;h=fd99700a01c35f77ff2d87445ee228b71ae69de5;hb=02e807a227da687ff2606d6eecf49aff372d3a51;hp=11afba9f66129eb18f85ec34cd29160c4c751622;hpb=9bbf98ac065e34fc1c35538328d02d51e74ccc0f;p=model-checker.git diff --git a/model.h b/model.h index 11afba9..fd99700 100644 --- a/model.h +++ b/model.h @@ -170,6 +170,7 @@ private: void check_curr_backtracking(ModelAction * curr); void add_action_to_lists(ModelAction *act); ModelAction * get_last_action(thread_id_t tid) const; + ModelAction * get_last_fence_release(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; @@ -213,6 +214,7 @@ private: std::vector< struct release_seq *, SnapshotAlloc > *pending_rel_seqs; std::vector< ModelAction *, SnapshotAlloc > *thrd_last_action; + std::vector< ModelAction *, SnapshotAlloc > *thrd_last_fence_release; NodeStack *node_stack; /** Private data members that should be snapshotted. They are grouped