Commit 8b724663 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cf768b96
...@@ -28,7 +28,7 @@ variable j \in Nat ...@@ -28,7 +28,7 @@ variable j \in Nat
while (inentry[j]) while (inentry[j])
goto Lwait_jset; goto Lwait_jset;
\* wait for proc[i] is ahead of proc[j]. \* wait for when proc[i] is ahead of proc[j].
Lwait_jbehind: Lwait_jbehind:
while (~(ticket[j]=0 \/ (ticket[i],i) < (ticket[j],j))) while (~(ticket[j]=0 \/ (ticket[i],i) < (ticket[j],j)))
goto Lwait_jbehind; goto Lwait_jbehind;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment