Skip to content

Commit

Permalink
Update Tutorat_21 concurrent systeme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave0126 authored Jan 4, 2023
1 parent ef6b4b3 commit b13c794
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ t1.write(t1.read(y));
```java
demande[i] = true; // 1
while (tour != i) { // 2
while (demand[j]) { // 3
while (demand[j]) { // 3
wait(); // 4
} // 5
} // 5
tour <- i; // 6
} // 7
/** SECTION CRITIQUE */ // 8
} // 7
/** SECTION CRITIQUE */ // 8
demande[i] = false; // 9
```

Expand Down

0 comments on commit b13c794

Please sign in to comment.