Skip to content
Snippets Groups Projects

Continuation change, extract_proph_winner change

Merged Ghost User requested to merge (removed):master into master
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -161,7 +161,7 @@ Section rdcss.
@@ -161,7 +161,7 @@ Section rdcss.
(** Definition of the invariant *)
(** Definition of the invariant *)
(* Extract the TID of the winner from the prophecy value. The winner is the first thread that performs a CAS. *)
(** Extract the TID of the winner from the prophecy value. The winner is the first thread that performs a CAS. *)
Fixpoint proph_extract_winner (pvs : list (val * val)) : option proph_id :=
Fixpoint proph_extract_winner (pvs : list (val * val)) : option proph_id :=
match pvs with
match pvs with
| (_, LitV (LitProphecy tid)) :: _ => Some tid
| (_, LitV (LitProphecy tid)) :: _ => Some tid
Loading