vault backup: 2025-03-08 18:41:57

This commit is contained in:
Marco Realacci 2025-03-08 18:41:57 +01:00
parent e0117166f1
commit e93bde0276

View file

@ -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