Paste
Pasted as text by berat ( 17 years ago )
"integer j;
LiO: b[i] := false;
Lil: if k # i then
Li2: begin c[i] := true;
Li3: ifb[k]then :=i;
go to Lil
end
else
Li4: begin c[i] := false;
for j := 1 step 1 until N do
ifj # i and not c[j] then go to Lil
end ;
critical section;
c[i] := true; bill := true;
remainder of the cycle in which stopping is allowed;
go to LiO"
hey i ask a question i hope you answered me i try to transform psuedo code tyo java.How can i transform gotol0 or goto l1.Will i apply goto l1 or goto l0 to program by writing the same thing in line1 or line 0.
Revise this Paste