Skip to content

Commit

Permalink
Rearrange CLHlock predicate for legibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWindsor91 committed Feb 13, 2017
1 parent f05640e commit cc137e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grasshopper/CLHlock-module.spl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires acc(Foot) {
&& tail in Foot
&& Reach(pred, tail, head)
&& !head.lock
&& (forall x : Node :: (x in Foot && !x.lock) ==> x.pred == null)
&& (forall x : Node :: (x in Foot && x.pred != null) ==> x.lock)
}

predicate looseG(Foot : Set<Node>, a : Node, head : Node)
Expand Down

0 comments on commit cc137e1

Please sign in to comment.