vault backup: 2025-03-08 18:41:57
This commit is contained in:
parent
e0117166f1
commit
e93bde0276
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ We say that: $p_i$ is at level $h$ when it exits from the $h$-th wait $\to$ a pr
|
||||||
>[!info] What is the `wait` condition actually checking?
|
>[!info] What is the `wait` condition actually checking?
|
||||||
>In the wait condition we check that all other processes are at a lower level.
|
>In the wait condition we check that all other processes are at a lower level.
|
||||||
##### MUTEX proof
|
##### MUTEX proof
|
||||||
Lemma: for every $ℓ \in \{0,\dots,n-1\}$ , at most n-ℓ processes are at level ℓ, this implies MUTEX by taking ℓ = n-1
|
>[!def] Lemma
|
||||||
|
>For every $ℓ \in \{0,\dots,n-1\}$ , at most n-ℓ processes are at level ℓ, this implies MUTEX by taking ℓ = n-1
|
||||||
|
|
||||||
Proof by induction on ℓ
|
Proof by induction on ℓ
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue